Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

TextField value is not printing.


Level 1


I am working in adobe livecycle designer. Have problem in assigning value to the textfield.

My script is like:

if(abc.length>25){x.rawValue="Length exceeds the limit");}

Everything goes fine but the value of textfield is not printing. So I tested by adding alert inside if condition. Like below:

if(abc.length>25){app.alert(x.rawValue); x.rawValue="Length exceeds the limit"); app.alert(x.rawValue);}

So what happening is, first alert is coming as 'null' and the second alert coming with the value "Length exceeds the limit". But the text field is not showing any value, it is still blank.

I made the field presence is visible as well.

Its little urgent. Any help is appreciate!


3 Replies


Level 2

Check the log tab in the Report window at the bottom of Designer. It will tell you if you have any syntax errors in your script.


Not applicable

Hi Thamizh12,

As suggested by jsanborn58, pls check the log tab. Also, please check if the field is Textfield or NumericField. A numeric field will accept only numbers and not alphabets.

If the issue is still perisists, please mail the form @



Level 10

If the name of your field is really "x" rename it!

x is a reserved name of a property and sholud never be used as name or variable.

Same goes for y, h and w.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now