Hello,
I am still using PHPMaker 2018, it’s old but I like it for what I do. I have a question about required fields. I have a field that when selected the answer will either display a hidden field or if the answer to the first question is Yes. The problem I am having is both fields are required but the second field, when hidden, is still required. I have this setup on multiple fields. Some hidden fields will not throw the error when others will. Any help would be greatly appreciated.
In that case, I suggest don’t set “Required field” since some of those fields can be hidden on certain condition, instead use Server events (Row Inserting and Row Updating) for checking.
You can set then set something like $this->setFailureMessage(“Required field!”); before return false.
Thank you for the response. I found a work around. I noticed that a text field did not cause an issue. The fields I was having trouble with were all radio button select answers. I changed them all to drop downs and that fixed the issue. I sincerely appreciate the response.
Regards,
JW