What are the best ways (best practices) for implementing mandatory fields (except from "required" attribute) | Community
Skip to main content
Level 2
February 8, 2017
Solved

What are the best ways (best practices) for implementing mandatory fields (except from "required" attribute)

  • February 8, 2017
  • 1 reply
  • 1750 views

Hello everyone,

i was asking myself if there are different ways to implement mandatory fields, for example to prevent a user to save a recipient without a name. All I currently know is the way of using the required attribute.

Is there any other way of implementing mandatory fields?

Best regards,
Alex

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vraghav

Hello Alex,

You can set notNull="true" on the attribute.

E.g.

Hope this helps.

Regards,
Vipul

1 reply

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
February 8, 2017

Hello Alex,

You can set notNull="true" on the attribute.

E.g.

Hope this helps.

Regards,
Vipul