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

Help with scripting and calculation...


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

Recommended Posts

Posted

There are two things I would like to do..

1) I have a list of 20 Yes/No Radio buttons (textfield1, textfield2, textfield3, etc), next to each I have a list of corresponding Notes fields (notefield1, notefield2, notefield3, etc). If you click

Posted

I think I understand, although there HAS to be an easier interface!

1) Attach a button to your text entry field. When you click on the field (you won't be able to tab in, you must take the field out of the tab order for this to work), run the following script:

Script 1:

Set Field(textfield1, "Yes")

Go to Field (Notesfield1)

Paste a clear button over the "No" option on textfield1, attach the following script:

Script 1a:

Set Field(textfield1, "No")

Go to Field (Notesfield2)

To do the last part, textfield2 needs to be a calculation field. To both check "Yes" if an entry is made in Notesfield2 and allow textfield2 to be manually changed, you will need a hidden textfield2 entry field and toggle it with scripts attached to clear buttons covering the Yes and No selections on the calculated textfield2.

2) Radio buttons are just one display option for a text field, to set a bunch of your fields to "No" under script control, use:

Set Field(textfield1, "No")

Set Field(textfield2, "No")

Set Field(textfield3, "No")

.

.

.

Set Field(textfield20, "No")

If you make the text fields calculated field, set the corresponding textfield entry fields to "No".

Sorry the answer is so confusing, so is the question! wink.gif" border="0

-bd

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