web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Login form issues

(0) ShareShare
ReportReport
Posted on by 70

pastedimage1684138325890v1.png

I have the following form , after providing credentials it should open that particular regid details.

I set property to mandatory but still without providing credentials ,if i click login the other form is opening

I have the same question (0)
  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: Login form issues

    Hi, Are these bound or unbound (without DataSource) fields. If unbound fields, then setting mandatory on form control will not work. You have to write validation code at Click method of Login button to check if values were entered in those two fields. Throw error, if one or both are empty.

  • gaya3 killy Profile Picture
    70 on at
    RE: Login form issues

    These are Bound Controls,

  • gaya3 killy Profile Picture
    70 on at
    RE: Login form issues

    i already specificated mandatory as yes in its data source and also in form

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: Login form issues

    Mandatory will work while creating new records or updating existing records. It will not work on Login button. Even if you set Mandatory on table level, it won't work. Best to create validation code at form button level.

  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at
    RE: Login form issues

    Hi,

    Mandatory error will be thrown when you click on Save button on topmost left corner of the form. It won't be thrown when you click on Login button.

    You need to add the validation manually.

    Can you tell us whether the form you have is DataSource bound control or unbound control?

    Thanks,

    Girish S.

  • GirishS Profile Picture
    27,827 Moderator on at
    RE: Login form issues

    If the Registration Id and PIN control is DataSource bound control, just try calling DataSourceName_ds.validatewrite() on the clicked method of the Login button and check.

    Thanks,

    Girish S.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: Login form issues

    Hi, Is your issue resolved or do you need any assistance?

    If resolved, please mark answer/s Verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans