Having required fields in an optional section

E

Evjan

Hello!

I'm trying to put some text boxes in an optional field that won't
necessarily show up to the user. However, when the user has selected a
few options and the optional section is supposed to be visible,
depending on what options are checked by user. I want the text boxes in
the section to be required to be filled in by the user.

The problem is that when I'm trying to do this, the fields are always
required, whether the optional section is shown or not.

Has anyone got a good idea of how to accomplish what I want?
 
V

Vikas Verma

on each control which is in the optional section, u can add a new rule
to required field rule asking whether or not the options (which make
optional section appear) are true.

u can do the same on section control instead of using optional section.
u can make regular section control hidden or unhidden based on some
rules.
 
V

Vikas Verma

on each control which is in the optional section, u can add a new rule
to required field rule asking whether or not the options (which make
optional section appear) are true.

u can do the same on section control instead of using optional section.
u can make regular section control hidden or unhidden based on some
rules.
 
E

Evjan

I'm sorry, but I don't understand how that is done. I've tried adding
rules to these fields in the optional sections, but couldn't figure it
out.

Kind regards,
Peter

Vikas Verma skrev:
 
B

Bill Davis

Slightly more detailed directions:
The default "cannot be blank" is not what you want to use.
Click on the Data Validation button below it
Click Add
Define the rule with the criteria that matches what would "show" the field
as visible (ie the opposite of what you have for visibility).
Input your custom "required field" text and notices.
voila, now when the hidden criteria are met, the control is not required.
And when the hidden criteria are not met, the control is..
 

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