Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
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 7

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

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 7

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