Welcome, Guest
Username: Password: Remember me

TOPIC: Adding validation to text field - multiple short text

Re: Adding validation to text field - multiple short text 2 years 9 months ago #71798

  • miradoro
  • miradoro's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 92
  • Karma: 0
i see but that works for standard questions

what if i am using a question Type: Multiple short text?
The administrator has disabled public write access.

Re: Adding validation to text field - multiple short text 2 years 9 months ago #71800

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4270
  • Thank you received: 803
  • Karma: 368
The question type doesn't matter.

If the script is in the source of the question, it will only act on the page whwere the question appears.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Adding validation to text field - multiple short text 2 years 9 months ago #71820

  • miradoro
  • miradoro's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 92
  • Karma: 0
i see

Then my ID is: answer38194X3X115email

this is the code i have

<li>
<label for="answer38194X3X115email">E-mail:</label>
<span>

<input class="text " type="text" size="20" name="38194X3X115email" id="answer38194X3X115email" value="" onkeyup="noop_checkconditions(this.value, this.name, this.type);" maxlength="255" />

</span>
</li>
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.097 seconds
Donation Image