Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Change the onkeyup

  • MikeConom
  • MikeConom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #107310 by MikeConom
Change the onkeyup was created by MikeConom
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?
Code:
$('#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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago #107313 by DenisChenu
Replied by DenisChenu on topic Change the onkeyup
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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • MikeConom
  • MikeConom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #107315 by MikeConom
Replied by MikeConom on topic Change the onkeyup
Denis
what link you mean?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago #107321 by DenisChenu
Replied by DenisChenu on topic Change the onkeyup

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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • MikeConom
  • MikeConom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #107326 by MikeConom
Replied by MikeConom on topic Change the onkeyup
this my test

File Attachment:

File Name: limesurvey..._585.lsg
File Size:7 KB
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago #107339 by DenisChenu
Replied by DenisChenu on topic Change the onkeyup
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 , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose