Required field

Avatar

Avatar

Xen83

Avatar

Xen83

Xen83

04-09-2014

How can i make an field require an input before they van type in the next field.

Is there a code?

View Entire Topic

Avatar

Avatar

sonya1

Avatar

sonya1

sonya1

15-09-2014

Him

On Exit event, write the below code

Textfield1.mandatory = "error";

xfa.host.setFocus(this);

another solutions is

if(Textfield1.rawValue == "" || Textfield1.rawValue == null)

{

app.alert("This is an mandatory field");

xfa.host.setFocus(this);

}