Set action behavior based on another control.

I'm trying to set up a data entry form with the following:

 

I have a radio group with two options.

Organization

Person

 

Underneath I have five text boxes

Organization Name

First Name

Middle Name

Last Name

Suffix

 

If Organization is selected the textbox Organization should be required - all other textboxes disabled (not hidden).

If Person the textbox Organization should be diabled - all other textboxes either required or optional (suffix and middle).

 

Is this allowed? - it should be - can someone suggest a workaround (or multiple workarounds)?  The workaround needs to be in a way that makes data entry fluid.

 

Thx

 

 

Tagged:

Comments

  • Ethan Beisher
    Ethan Beisher E Community Moderator

    Have duplicates of your text boxes. Have the first group visible based on option 1, and the second group visible based on option 2.

  • Ok thanks - it seems that I have to put them in panels to do this in a way that is more UI friendly.