[SOLVED] Â Working with required fields located in tabs/sections |
9/1/2019 8:32:54 AM |
PHPRunner General questions | |
![]() Hi Guys, |
|
![]() |
mbintex 9/5/2019 |
Personally I would never "hide" a required field in the 2nd, 3rd etc. tab but show right upfront, just my 2 cents. |
![]() |
lefty 9/5/2019 |
Hi Guys, Phprunner gives us many great ways to work with required fields from the built-in required field option to the IsRequired option in the Javascript API. It really is amazing what we can do with the software. I was wondering how our community handle this validation scenario regarding required fields that are located in tabs or sections. I have a add page, on the add page there are 5 tabs, on the 3rd tab I have two fields that are required. The users moves along the tabs but they forget to add any data to the required fields on tab 3. (Even after highlighting the required fields via Javascript) The user is now on the final tab, they press the save button, to the user nothing happens, the record will not save because the user never added data to the required fields on tab 3, without a message telling them this the user would have to manually click back to the 3rd tab to see the "red required field warning" that appears on the required field after they tried to save the record without adding the required data. Therefore I am somewhat reluctant to add required fields to tabs or sections. I was wondering how anyone else out there handles this scenario. Is there a way to using tabs/sections... or I would love to hear your thoughts, workarounds or solutions on this. Many thanks, J
|
![]() |
woodey2002 author 9/6/2019 |
Thanks for the response guys, much appreciated. |
![]() |
woodey2002 author 9/10/2019 |
Hi Guys,
|