Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

how to stop the form submission

saikumarkak
Tera Contributor

saikumarkak_0-1747033802016.png

when i click on save button it will show the error message without filling the mandatory field

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hii @saikumarkak 

The expected behaviors are assigned as mandatory, which you need to complete first in order to proceed further.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

mohdarbaz
Kilo Guru

Hi @saikumarkak ,

 

Use onsubmit client script, and return false; statment to stop the form submission.

 

Accept the solution and mark as helpful if it does, to benefit future readers

 

Regards,

Mohd Arbaz.

saikumarkak
Tera Contributor

@mohdarbaz 
no it does not stop the form submission in workspace