Skip to main content
May 15, 2023
Question

Validate form issue in Portal

  • May 15, 2023
  • 5 replies
  • 0 views

Hi Champs,

I have a portal having milestone section. I have a landing page and once user click the "Start Application button" in landing page, the milestone starts. In each of the page, I have a option to proceed next, back and cancel button. There are some mandatory fields in each of the pages without which the page won't proceed ahead and gives the validation message. It's working fine; but there is one issue. When I am cancelling the form, it's coming back to landing page and then when I am clicking next, automatically it's showing the mandatory field validation without even user clicking the next button.

How can I reset it, so that it will only show the message when user click the next button only.

Regards,

Ghanashyam

5 replies

stefanhelzle0001
Brainy
May 15, 2023

How do you "cancel" the form?

May 15, 2023

Please find the below code snippet for my button. I have a cancel button to cancel the form.

stefanhelzle0001
Brainy
May 15, 2023

So, this does reset all local variables, I assume.

Once the form is in validation mode, there is no way to revert that. Can you turn that button into a link which just links back to the Portal URL and "reset" it that way?