submit button in ui builder

paru bonthu
Tera Contributor

why submit button on ui builder portal experience is not working as expected?(expected behaviour is it should ensure all mandatory fields are filled r not before redirect in to list view)

3 REPLIES 3

kaushal_snow
Mega Sage

Hi @paru bonthu ,

 

It means your form component On Submit logic or validation handlers aren’t properly linked to the form validation lifecycle in the UI Builder configuration, so the button might be executing navigation before the form required field checks happen , you’ll need to shift your validation logic into the form On Submit event (instead of the button On Click) or bind the button disabled/enable state to the form valid state so it only works when all required fields are filled....

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

@kaushal_snow 

Could you please share screenshots based on your response as part of troubleshooting so that it will be helpful for other members because the question doesn't have it? 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

tejas1111
Tera Contributor

Hi @paru bonthu,

Please provide screenshots or a detailed explanation of the problem you are having. 

thanks ,