Login

Hi Guys,

I only need to show one message i.e. in the login screen of reactive

1)Invalid Username and password    OR

2)This field is required.

I have tried some changes but not working.

Help me

login.PNG

Solution

Dear Rohan,
Greetings of the day

As per my understanding, you want to show only one thing.
either Feedback Message or ClientSide validations.

Option 1) Check if username or password is null. If true don't call server action and show only message.

Option 2) You can disable built-in validations on click of login button. So it will only show feedback message.


Hope this is what you were looking for.

Regards,

Solution

Check this other kind of approach!

Where you can do your own validation

Check the OML

Login.oml

Solution

Dear Rohan,
Greetings of the day

As per my understanding, you want to show only one thing.
either Feedback Message or ClientSide validations.

Option 1) Check if username or password is null. If true don't call server action and show only message.

Option 2) You can disable built-in validations on click of login button. So it will only show feedback message.


Hope this is what you were looking for.

Regards,

Solution

Check this other kind of approach!

Where you can do your own validation

Check the OML

Login.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.