Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Conditional Logic and Required

5 months 3 weeks ago #1

  • Bernhard's Avatar
  • Bernhard
  • Posts: 46
Hi,

in one of my client forms I need to make fields required just in case there is text in some other field.
Any ideas on how to achieve this (maybe with some JavaScript)?

Thanks for any hint.
Kind regards,
Bernhard

5 months 3 weeks ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
Hello,
Thank you for contacting us

Your question is not entirely clear, some specific text or field is not empty?

Regards,
Vyacheslav, Balbooa.com

5 months 3 weeks ago #3

  • Bernhard's Avatar
  • Bernhard
  • Posts: 46
Hi Vyacheslav,

thanks for your fast reply.

We want to check specific fields, if they are empty or not. If not, some other fields should change their state to required.

5 months 3 weeks ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
You need to use conditional logic for this.
Make 2 identical fields (required and not) and show the desired one, depending on the conditions

Regards,
Vyacheslav, Balbooa.com

5 months 3 weeks ago #5

  • Bernhard's Avatar
  • Bernhard
  • Posts: 46
Got it. Thank you very much Vyacheslav

5 months 3 weeks ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
You are welcome ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum