Welcome, Guest
Username: Password: Remember me

TOPIC: Change the onkeyup

Change the onkeyup 6 months 1 week 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 6 months 1 week ago #107313

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
Test link please ?
The administrator has disabled public write access.

Change the onkeyup 6 months 1 week 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 6 months 1 week ago #107321

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
MikeConom wrote:
Denis
what link you mean?
A link to test your script. Somethink you do with a test survey.
The administrator has disabled public write access.

Change the onkeyup 6 months 1 week 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_group_585.lsg
File Size: 7 KB
The administrator has disabled public write access.

Change the onkeyup 6 months 1 week ago #107339

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.153 seconds
Donation Image