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

SOLVED

Make a field in properties Mandatory

Avatar

Level 4

Hi Team,

 

I am trying to make the @deliverycode field in properties as a mandatory field so that the user don't forget to leave without giving any value in it.

Greeshma_Sampath1_0-1642411261715.png

 

Could someone please let me know how i can do this in adobe?

 

@DavidKangni @Manoj_Kumar_ 

Thanks & Regards,

Greeshma

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @Greeshma_Sampath1 

You can apply check expression at leave tag of the form. Have a look at this document

<leave>

<check expr="@deliveryCode !="">

<error>Delivery Code is Mandatory</error>

</check>

<leave>

This won't allow user to save the delivery until a value is filled.

Thanks,

SSB

View solution in original post

4 Replies

Avatar

Level 2

Hi Greeshma,

 

Add requried="true" in the delivey form

<input requried="true" xpath="@deliveryCode"/>

 

Thanks,

Raja

Avatar

Level 2

Hi Greeshma,

 

What build of classic are you on?

Did you try clearing the cache logging out and logging in?

 

 

Thanks,

Raja

Avatar

Correct answer by
Level 6

Hi @Greeshma_Sampath1 

You can apply check expression at leave tag of the form. Have a look at this document

<leave>

<check expr="@deliveryCode !="">

<error>Delivery Code is Mandatory</error>

</check>

<leave>

This won't allow user to save the delivery until a value is filled.

Thanks,

SSB