Check out the LimeSurvey source code on GitHub!

Adding validation to text field - multiple short text

More
5 years 1 month ago #71798 by miradoro
i see but that works for standard questions

what if i am using a question Type: Multiple short text?

Please Log in to join the conversation.

More
5 years 1 month ago #71800 by tpartner
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.

Please Log in to join the conversation.

More
5 years 1 month ago #71820 by miradoro
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>

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form