I have a Contour form placed on a page. All is working as expected for one particular form.
I would like to run some Javascript when the submit button is clicked. How could i do this? My attempts so far have resulted in the error "Uncaught TypeError: Cannot set property 'onclick' of null" which i believe means i need to add a onClick event to the button but have no access to this button that i know of?
Contour onclick action
I have a Contour form placed on a page. All is working as expected for one particular form.
I would like to run some Javascript when the submit button is clicked. How could i do this? My attempts so far have resulted in the error "Uncaught TypeError: Cannot set property 'onclick' of null" which i believe means i need to add a onClick event to the button but have no access to this button that i know of?
Hi J,
If you don't have solved this yet.
Have you then tried something like this.
Hope this helps,
/Dennis
is working on a reply...