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, ...
Answered

Customization to Validate Inputs before Saving

(0) ShareShare
ReportReport
Posted on by 130

How would one go about validating inputs on a screen prior to saving? I'm primarily concerned with new records (not updating existing records although that could be helpful as well).

I have the same question (0)
  • Verified answer
    street9009 Profile Picture
    130 on at
    RE: Customization to Validate Inputs before Saving

    Yea I need to do the VB code. I just wasn't sure how to set that up to stop the save action. I know how to code for the logic to determine whether to save or not but I don't know what routine to set up or how to stop the save action. Would need someone with some VB experience to help there.

  • CFROTON Profile Picture
    4,710 on at
    RE: Customization to Validate Inputs before Saving

    Dear Stephen,

    I know there is a List property that can possibly validate. See screenshot.

    I don't know exactly what your trying to do , and you may need VB code behind it, which is beyond my own expertise.

    pastedimage1595008343776v1.png

    Best Regards,

    Jana MacDonald

  • street9009 Profile Picture
    130 on at
    RE: Customization to Validate Inputs before Saving

    Hey Jana,

    I am looking to validate the values themselves, so I'd need to do it in the VB editor somewhere. Just wasn't sure how to go about validating input fields and then stopping the "Save" action if the validation fails.

    Stephen

  • CFROTON Profile Picture
    4,710 on at
    RE: Customization to Validate Inputs before Saving

    Hello,

    In Customization manager, on the field property page, - To get there click into a field, right click and select properties or F4 in that field.

    The BLANKERR property can be set to True.  This will make a field "required" in the screen. This will not validate the value you put in there, but it will expect the user to input into that field.

    Best Regards,

    Jana MacDonald

    MS Dyn SL support

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 745 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 597 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans