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

TOPIC: Change the onkeyup

Change the onkeyup 2 years 4 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 4 months ago #107313

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
Test link please ?
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Change the onkeyup 2 years 4 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 4 months ago #107321

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Change the onkeyup 2 years 4 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 4 months ago #107339

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.303 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form