Welcome, Guest
Username: Password: Remember me

TOPIC: Custom Validation Script?

Custom Validation Script? 1 year 14 hours ago #107927

  • ohvelma
  • ohvelma's Avatar
  • Senior Lime
  • Posts: 59
  • Thank you received: 3
  • Karma: 3
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? 11 months 4 weeks ago #107950

  • tpartner
  • tpartner's Avatar
  • LimeSurvey Team
  • Posts: 4720
  • Thank you received: 952
  • Karma: 410
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.108 seconds
Donation Image