Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Regarding required fields issue.
posted

Hello team, 

I am facing one issue . Suppose I have 3 columns required out of 6. So , if user. Doesn't click on the  required ones and fills other he doesn't get any validation for required fields and also the save button gets enabled. Idk how to handl this. Could you help me with this.

Thanks and regards 

Rohit Rawat 

Parents
No Data
Reply
  • 0
    Offline posted

    Hi Rohit, this usually happens when the required field validation isn’t properly bound to the form state, so even if a user skips the mandatory columns, the save button still gets enabled; to fix this you should ensure validation rules are explicitly set for the required fields at both the UI and backend level, and link the button’s enabled/disabled state to the overall form validity—think of it like checking the Little Caesars menu prices where you can’t confirm an order unless you’ve selected the required items, the same logic should apply to your required fields so that the form cannot proceed until they are filled.

Children
No Data