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

Make a field in properties Mandatory

  • January 17, 2022
  • 1 reply
  • 1855 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
New Participant
January 17, 2022

Hi Greeshma,

 

Add requried="true" in the delivey form

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

 

Thanks,

Raja

New Participant
January 17, 2022

hi @rajashekarchavva 

 

I tried that but didnt work.

Is there any other way?

rajashekarchavva
New Participant
January 17, 2022

Hi Greeshma,

 

What build of classic are you on?

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

 

 

Thanks,

Raja