Highlighted

Required check on two fields

Avatar

Avatar

santhoshsrg

Avatar

santhoshsrg

santhoshsrg

29-05-2019

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.

Replies

Highlighted

Avatar

Avatar

pierrec70731455

Avatar

pierrec70731455

pierrec70731455

29-05-2019

Hi,

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

Is it in a schem, in a query?

Kind regards,

Pierre

Highlighted

Avatar

Avatar

badr_eddine

Avatar

badr_eddine

badr_eddine

29-05-2019

Hi,

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

Regards.