sspyrou Posted August 8, 2002 Posted August 8, 2002 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?
djgogi Posted August 8, 2002 Posted August 8, 2002 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
sspyrou Posted August 8, 2002 Author Posted August 8, 2002 hi dj you make it sound straight forward:) at a risk of sounding a bit thick.. how do i specify a default for a field ss
Keith M. Davie Posted August 9, 2002 Posted August 9, 2002 TechInfo Knowledge Base at FMI's web site is a very useful resource. You might find this article useful. Article 102615 Starting Scripts by Checkbox or Radio Button
Recommended Posts
This topic is 8146 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 accountSign in
Already have an account? Sign in here.
Sign In Now