Make a field in properties Mandatory | Community
Skip to main content
Level 4
January 17, 2022
Solved

Make a field in properties Mandatory

  • January 17, 2022
  • 1 reply
  • 1859 views

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.

 

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

 

@davidkangni @_manoj_kumar_ 

Thanks & Regards,

Greeshma

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SurabattulaSr

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

1 reply

rajashekarchavva
Level 2
January 17, 2022

Hi Greeshma,

 

Add requried="true" in the delivey form

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

 

Thanks,

Raja

Level 4
January 17, 2022

hi @rajashekarchavva 

 

I tried that but didnt work.

Is there any other way?

SurabattulaSrAccepted solution
Level 6
January 17, 2022

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