Required fields by View

A

Art

I am designing a form based on a data connection to a SQL table in IP 2003.

Field 1, 2 and three are required for the initial submission.

But when the form gets emailed to a second person, I change the view.

On the second view,I want to make field 4 to be required.

However, field 4 being required stops the initial submission.

How can you make fields required or not required by view?
 
A

Art

By coding, do you mean custom code in JS or VB?

If yes, I am not there yet and do everything through IP wizards
 
S

S.Y.M. Wong-A-Ton

I think you can do this without code, Art. Add a field to your main data
source to save the name of a view in. You do not need to put this field on
any view; it can remain "invisible". You can then add an action to the same
rule you use to switch views and set the value of your invisible field to the
name of the view you are switching to. Then use data validation on field 4 to
make it required if a certain view name is present in your invisible field.
Give it a go and let me know if it works.
 
A

Art

Thanks - that makes sense. Will give it a try on a new form I am working on

I surprise meyself that I have done more than 20 forms in just the past 2
months.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top