Jump to content
Server Maintenance This Week. ×

radio buttoms and scripts.


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

Recommended Posts

hi there

i have a radio buttom with to options. I want to set it up such that clicking one of the options will add the current date into a seperate field, where as clicking the other will not. Im having trouble getting my head round how i should assemble the script.

can anyone help?

Link to comment
Share on other sites

If you have the default value for the field (your radio buttons) than all you need is an script attached to it(after disallowing access to field) that state

Set Field [your field,Case(your field=value1,value1,value2)]

If[your field=value1]

Set Field [date field, some date]

end if

Otherwise if you don't provide the default value to your field than you should create to ovals place them above(underneath) circles of radio buttons field and attach the scripts (after disallowing access to field)???

script for value 1

Set Field [your field, value1]

Set Field [date field, some date]

script for value 2

Set Field [your field, value2]

HTH

Dj

smirk.gif

Link to comment
Share on other sites

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