Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Script Help


blevey
 Share

Recommended Posts

I have several text boxes that when selected (the field is set to be a button) will evaluate the contents and if empty put an X in it, the next time it clicked it would remove the X. Simple so far:

 

Script:

 

Set Field[Table::field;Case(IsEmpty(Table::field);"X";"")]

 

However, since I have 100 of these fields, I don't want to write 100 scripts.. Is there a way to use variables or something so the same script can be used.

 

I've tried using script parameter to pass the field name:

 

Script parameter = OneA (the field name)

 

Set Variable [ $cell; Value: Get(ScriptParameter)]

Set Field[$cell;Case(IsEmpty($cell);"X";"")]

 

It didn't work. Any help would be appriciated.

 

Blevey

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

Terms of Use