Hello,
I have a form in which I want to add submit buttons that will route a form between several users. Each time a user clicks the button, the button will become inactive. Can this be done and can some steer me in the right direction for scripting?
Thanks a bunch.
Joe
Solved! Go to Solution.
Views
Replies
Total Likes
Your field is called GST not submitGST. If you hover over the button a popup will appear giving you the name of the object. Or you can use this.access = "readOnly" as the "this" refers to the field that has focus.
Paul
Views
Replies
Total Likes
On the postSubmit event I woudl add the code:
submitButtonName.access = "readOnly"
Paul
Hi Paul,
my button is called SubmitGST. I assume that this would replace the "submit" in the script - correct? Also, do I need any other scripting to call this to action? It didn't work when I tested.
Thanks!
Joe
Views
Replies
Total Likes
Thats all you need to do .....if you can't get it to work post your form and I will have a look.
Paul
Views
Replies
Total Likes
Hi Paul,
Attached is my form. Take a look.
Joe
Views
Replies
Total Likes
Your field is called GST not submitGST. If you hover over the button a popup will appear giving you the name of the object. Or you can use this.access = "readOnly" as the "this" refers to the field that has focus.
Paul
Views
Replies
Total Likes
Thanks Paul.
I moved the scrip to preSubmit as I needed to have the submitted file restricted. Now I will attempt to use the same script on some of the form fields so that once entered they are become read only. I saw an article about how to grey out a field but it was with a radio button.
Thanks again.
Joe
Views
Replies
Total Likes