Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

Sorry if been asked but I didn't have any luck finding my answer with search. I am new to Filemaker and have a general idea of what’s going on in it.

What am I wanting to do:

I have created a Field with a Radio Button of yes and no. I have some fields that I only want to be displayed only if yes selected and do not display the fields when no is selected.

What have I done:

I have created 2 layouts one with all the fields and one with the fields i don't want to see.

I have set the default data type for the Field to no.

I have created a script that works the way I want it to but I have to run it manually.

Script:

if [layout1::fieldname = "Yes"]

go to layout ["layout2"]

else

Go to Layout["layout1"]

end if

This is everything I have done so far and is about as far as I can figure out dealing with the scripts.

Thanks for the help.

  • Newbies
Posted

Thats a bit to complicated for my entry level of Filemaker and I think it may be too much for my needs. I prefer KIS

Keep

It

Simple

Posted

It sounds like you may want the script to run when you click the radio button. The easiest method is to place a button over the radio button options that runs your script and place that value you want in the radio button. Since you will need one button over the "yes" and another over the "no", you won't need the conditional. Just have the two scripts switch to different layouts. Each script will also use Set Field to place the appropriate value into the radio button.

This topic is 6501 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.