Jump to content

Skip a field based on previous field answer


This topic is 6633 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Generally, the display of fields on a layout are not conditional. They are either there or not. Often scripts are used to branch to different layouts based on what's going on in the record, but this is when a user completes data entry on a layout and hits a button to go to another section (or the next step in a process.)

There is a handy visiblity trick that may be more what you are looking for. It lets you show or hide a field or group of fields based on values in the record. Do a search in the Resources section of databasepros.com for a couple good demos of this technique.

Link to comment
Share on other sites

Thanks for the info but that is not what i want to do.

I need to just skip a field based on a "no" in the previous field. i probably need a script.

The visibility trick does not work because in order to have something appear the field need to be filled. if the answer to the question is yes or no then the field will always appear.

If someone knows how to accomplish what is mentioned please respond.

Link to comment
Share on other sites

Rob:

If you set the "Yes/No" field as radio buttons, you can overlay an invisible button over the "No" radio button. Have this invisible button trigger this script:

Set Field [your "is he a vet" field; "No"]

Go to Field [the field you want to go to]

-Stanley

Link to comment
Share on other sites

I need to just skip a field based on a "no" in the previous field...

The visibility trick does not work because in order to have something appear the field need to be filled. if the answer to the question is yes or no then the field will always appear.

So change the relationship so that it only matches on "yes".

Link to comment
Share on other sites

This topic is 6633 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.