Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

input form mandatory field

Avatar

Level 3

@All 

 

how can we make a files mandatory in input form

i read the documenttation..

somewther mentioemd we need tk use leave tag 

and some where mentioned we need to pit required=true

 

m confused

 

pelase help

 

@isahore

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @DishaSharma ,

required="true" will make the field's label display in Red color font. But it will still allow empty value.

<leave> tag will make a field mandatory in input form by throwing an error pop-up when the field is empty.

Example,

 

<input label="Internal Name" required="true" xpath="@internalName"/>
<leave>
	<check expr="@internalName !=''">
		<error>Internal Name is Mandatory</error>
	</check>
</leave>

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @DishaSharma ,

required="true" will make the field's label display in Red color font. But it will still allow empty value.

<leave> tag will make a field mandatory in input form by throwing an error pop-up when the field is empty.

Example,

 

<input label="Internal Name" required="true" xpath="@internalName"/>
<leave>
	<check expr="@internalName !=''">
		<error>Internal Name is Mandatory</error>
	</check>
</leave>