Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Replace value in response table

Replace value in response table 5 years 5 months ago #62182

  • COMPGURL
  • COMPGURL's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Is there a way to replace a value in a survey's response table?

For example, a user enters a date, this date is verified. If the entered date matches the validation date, then the value needs to stay the same. If the entered date does not match, then date should be replaced with the validation date.

I've tried to use:
$("input#answer{SGQ}").val(validate_date);

The date returned in the response table is 1999-11-30.
The administrator has disabled public write access.
Time to create page: 0.497 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form