Something confusing about PHP validation

jfquestiaux

Well-Known Member
When you set a PHP validation on an element, you get the little star and the message "field required".

However, it is not always that the field is required: you can have a PHP code run when there is a data entered but allow the field to be left blank. In that case, the "field required" message is confusing for the user.

I am not sure how to deal with that. Maybe the best way is to not display the star + message, just have the error message shown in the case of a failed validation.

This is on GitHub 335.
 
I'm working on improving this in a local branch which will get merged along with the join changes. Just not had much time to look at it over the last week or so.,
So it should be in for the next release of 3.1
 
@cheesegrits,
Hugh, I found that the problem is while using field with validation. This field became required field. It is not always necessary to have field with validation and required field. May be there is some way how to customize it. Did not find yet.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top