Hi
In the profile, I created a new CATEGORY, and created new FIELDS for that category.
I have set the field's property to REQUIRED.
When filling the form, upon submit, it does not check if the field is completed. So it accepts a null value eventhough the field is set to required.
Please advise.
Thank you.
REQUIRED FIELD not working
Re: REQUIRED FIELD not working
Hi Leroy,
I could not reproduce this error. Which type does the new fields have?
You set "Required Input" = yes?
Regards
Fasse
I could not reproduce this error. Which type does the new fields have?
You set "Required Input" = yes?
Regards
Fasse
Re: REQUIRED FIELD not working
Thank you Fasse.
Please see the attached screenshots.
I thought that maybe the database did not update, but I looked in the table "adm_user_fields", and the column "usf_required_input", and noticed that the value changed from 0 to 1, which I assume that 1 means Yes(required).
So, the changes seem to take affect as expected, but somewhere a "validation check" is not taking place when the form is submitted. The form in this case is 'MyProfile > Edit profile".
Let me know when you can.
Thank you.
Please see the attached screenshots.
I thought that maybe the database did not update, but I looked in the table "adm_user_fields", and the column "usf_required_input", and noticed that the value changed from 0 to 1, which I assume that 1 means Yes(required).
So, the changes seem to take affect as expected, but somewhere a "validation check" is not taking place when the form is submitted. The form in this case is 'MyProfile > Edit profile".
Let me know when you can.
Thank you.
Re: REQUIRED FIELD not working
I tried to create a similar scenario but in my case the required field in the new category have the red dot and I'm not able to leave it blank. So in your case the red dot is not shown?
Re: REQUIRED FIELD not working
The RED DOT.
We are now on the right track. Thank you.
I think I may have "broken" something in the app.
I now tried to submit the form, leaving ALL the fields blank, and it submitted successfully.
I have NO red dots at ANY of the fields.
I will try to backtrack what changes I made. Because it obviously did work correctly before.
Thanks for your advice. Please let me know if you think of something.
Re: REQUIRED FIELD not working
We had this problem last year viewtopic.php?t=9618 but we couldn't find the reason for this behavior.
As I understand you it has worked after installation. But than after you have reconfigured the profile fields it doesn't work, right?
As I understand you it has worked after installation. But than after you have reconfigured the profile fields it doesn't work, right?
Re: REQUIRED FIELD not working
Yes that is correct. That is exactly what happened. As in this post > viewtopic.php?t=9618fasse hat geschrieben: ↑12. Mai 2024, 07:24 We had this problem last year viewtopic.php?t=9618 but we couldn't find the reason for this behavior.
As I understand you it has worked after installation. But than after you have reconfigured the profile fields it doesn't work, right?
Let me know if you think of something.
Thank you.