Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Required check on two fields

santhoshsrg
Level 4
Level 4

Hi,

I have 2 fields attr1 and attr2. I want to include a required check like either attr1 != empty or attr2 != empty.

Please let me know how to do this.

2 Replies
pierrec70731455
Level 5
Level 5

Hi,

could you give us a bit more context (maybe some printscreen?

Is it in a schem, in a query?

Kind regards,

Pierre

badr_eddine
Level 4
Level 4

Hi,

If you are talking about input forms you can use :  <input required="true" xpath="@attr1"/>

Regards.