Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Memo Field Question

Avatar

Level 3

Hi guys,

I have a form with a text field that I would like to be displayed (and printed) only if the user wishes to.

Thus I have a button which if pressed, makes the text field visible.

However, clicking the button has no consequences on the text field, which remains invisible.

Any thoughts?  The form is attached.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Saving the form as dynamic gets the button working (attached).

Also I am not sure you need the "TextField7.relevant = "+print";" line because the textfield is made visible by the first line of script and will automatically print.

If you want the field to print even if it is invisible, you could put the relevant script in the initialize event.

Good luck,

Niall

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Saving the form as dynamic gets the button working (attached).

Also I am not sure you need the "TextField7.relevant = "+print";" line because the textfield is made visible by the first line of script and will automatically print.

If you want the field to print even if it is invisible, you could put the relevant script in the initialize event.

Good luck,

Niall