简体   繁体   中英

How to add onclick event to limesurvey submit button

I want to know how to add a javascript click event to limesurvey submit button. lime survey

I think submit button is generated, therefore I couldn't access the button to add a onclick event.

I am trying to write fileuploading validation for one of my lime servey.

Adding javascript to limesurvey is pretty well covered in these documents here: https://manual.limesurvey.org/Workarounds:_Manipulating_a_survey_at_runtime_using_Javascript I might be able to answer some more specific questions if you have them. Are you having trouble find where in limesurvey to put the code? Or is your issue writing the code itself? Or both? Or something else?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM