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

TOPIC: Change the onkeyup

Change the onkeyup 2 years 7 months ago #107310

  • MikeConom
  • MikeConom's Avatar
  • Offline
  • Junior Lime
  • Posts: 39
  • Thank you received: 1
  • Karma: 0
i have a multiple short text question and in one of the row i want to accept only numbers.
i wrote this code but i cant change it.

any idea?
$('#javatbd{SID}X{GID}X{QID}1 [onkeyup="checkconditions(this.value, this.name, this.type);"]').attr('onkeyup', 'fixnum_checkconditions(this.value, this.name, this.type);');

thanks
The administrator has disabled public write access.

Change the onkeyup 2 years 7 months ago #107313

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Test link please ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Change the onkeyup 2 years 7 months ago #107315

  • MikeConom
  • MikeConom's Avatar
  • Offline
  • Junior Lime
  • Posts: 39
  • Thank you received: 1
  • Karma: 0
Denis
what link you mean?
The administrator has disabled public write access.

Change the onkeyup 2 years 7 months ago #107321

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
MikeConom wrote:
Denis
what link you mean?
A link to test your script. Somethink you do with a test survey.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Change the onkeyup 2 years 7 months ago #107326

  • MikeConom
  • MikeConom's Avatar
  • Offline
  • Junior Lime
  • Posts: 39
  • Thank you received: 1
  • Karma: 0
this my test

File Attachment:

File Name: limesurvey..._585.lsg
File Size:7 KB
The administrator has disabled public write access.

Change the onkeyup 2 years 7 months ago #107339

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Ji,

No, i don't have time actually to create a survey, iport group and test. ANd more template can be needed.

Just do a little survey showing this issue on your server, i see directly with this little survey.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.276 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form