Welcome, Guest
Username: Password: Remember me

TOPIC: Custom Validation Script?

Custom Validation Script? 6 months 7 hours ago #107927

  • ohvelma
  • ohvelma's Avatar
  • Junior Lime
  • Posts: 39
  • Thank you received: 1
  • Karma: 1
Do you know if it is possible to call a JavaScript function for validation?
   function validateCode(SecretCode){
       return SecretCode=="CANDY";

The administrator has disabled public write access.

Custom Validation Script? 5 months 4 weeks ago #107950

  • tpartner
  • tpartner's Avatar
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
No, the question validation equation must follow the Expression Manager syntax and variables.
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: ohvelma
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image