Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello Alex,

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

E.g.

Hope this helps.

Regards,
Vipul

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hello Alex,

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

E.g.

Hope this helps.

Regards,
Vipul