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

SOLVED

Enable text field border only when content is entered

Avatar

Level 1

Hello,

Can anyone point me to a method to achieve the following:

Using LiveCycle ES2, I want to set certain text fields to have no border as a default.

When the user enters text into a field in the finished form, I want to turn on a border for that field.

When there is no text in that field, I want the border to turn off.

Is this possible? If so, does anyone have any suggestions?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 7

just put in the exit event of the textfield (in formcalc):

if ($.isNull == 0) then

$.border.edge.presence = "visible"

else $.border.edge.presence = "hidden"

endif

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

just put in the exit event of the textfield (in formcalc):

if ($.isNull == 0) then

$.border.edge.presence = "visible"

else $.border.edge.presence = "hidden"

endif