How to Add Action on button
i create on form and on text field 'cmnt'
I want to add a comment with a data from a form field 'cmnt' , I can add an action to the form and write the next groovy code:
for that i done following . now in submit's button's > general tab > action > add action now there is two field
---- takes value of ----- now exactly where i have to write code ?
i tried by ---- takes value of -Code = give error Variable -- takes value of -- Code = give error
what mistake i m doing
Thanks in advance
did you try to clic on the small pen icon on the right of the field ? it opens a window, and you can choose different of value (constant, script, ...)
what does your scprit return ? the aim of the action is to return something in the variable you set in the first field...