The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Validation based on a previous selection - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: Validation based on a previous selection (/showthread.php?tid=2690)



Validation based on a previous selection - P-Tron - Sep 18th, 2013

Hi guys I am a little stuck here and would appreciate a bit of help.

In my form a have a parent question then 4 "child" questions.

I need to set up validation so that if they select the parent question they need to select one of 4 child questions that follow it.

The parent question is a check box ie "What type of loan do you need?".

The the next 4 questions ask for more specific information and are Option A or B radio buttons and one that is an input text field but cant work out how to validate it with js so the user answer one of the questions.

Here is a simple break down of it

Q. What type of loan do you need? > 3 Checkbox options

Q. Buy a new home > Option A or B
Q. Refinance existing loan > text input field
Q. Renovate / build > Option A or B
Q. Use equity in your home for another purpose > text input field

The validation needs to be if they check the box they must answer one of the question below it.

Any help here would be greatly appreciated.

Cheers



RE: Validation based on a previous selection - melmando - Oct 28th, 2020

Tous les bon moment de la journée. Je vous conseille d'essayer cet endroit: naviguez ici, car c'est là que j'arrive à soulever ma bite, je suis sûr que vous aussi, tout ira bien


RE: Validation based on a previous selection - RonaldA - Nov 1st, 2020

Here on this blog the updates quite educational and we able to learn new things as well. There should be people who might have amazing skills and while sharing the stuff they can help to improve their knowledge. Thumbs up with your essaywritinglab review that would be great.