Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

CP9: Multiple Text Entry Boxes - 1 Submit button

Engaged ,
Oct 28, 2015 Oct 28, 2015

Hi

I have multiple text entry boxes (TEBs) and 1 submit button.

For each TEB i have a:

  • variable for the user's text entry - v_teb1 (associated with the TEB).
  • Variable for the correct answer - v_teb1_ans  (doing it this way because i want to reuse Advanced action)

I have created an advanced action (assigned to Submit button) to check user input against answers.

So if the answer was "Home" or "home" - how can i test for this - create two answer variables - "v_teb1_ans_a", "v_teb1_ans_b"

Is there an easier way?

Also with "User Validation" are the "Correct Entries" only used with "On Success" and to display Success, Failure captions

i.e. when Submit button displayed for each TEB, auto-submit is on, Enter keystroke is used?

Regards

Donal.

297
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 28, 2015 Oct 28, 2015

Hi Donal,

That is the problem with validating a TEB entry using an advanced action, there is no way to turn off case sensitivity. It will be possible if you use JS to change the given answer to all capitals before checking it.

I don't understand your last question, sorry? Correct entries are used if you validate a TEB, but in your case validation is only done after all TEB's have been used, right?

Translate
Community Expert ,
Oct 28, 2015 Oct 28, 2015

Hi Donal,

That is the problem with validating a TEB entry using an advanced action, there is no way to turn off case sensitivity. It will be possible if you use JS to change the given answer to all capitals before checking it.

I don't understand your last question, sorry? Correct entries are used if you validate a TEB, but in your case validation is only done after all TEB's have been used, right?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 28, 2015 Oct 28, 2015
LATEST

Hi Lieve

Thanks for the answer - i thought that was the case.

You answered the last question as well.

Donal.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources