cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the caption of a text field

Former Member
0 Kudos

Hi Experts,

I need your help in solving the issue.I have a textfield named TextField1 in Adobe form.

Its caption should change as "Sold-to" when expind = "B" and it should change as "Bill-to" when expind = "D".


Thanks for your reply in advance,

Srinath.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shrinath

Two options:

1) Insert a floating field to text object that will hold the right text

2) In script (FormCalc only)

$.TextField1.value.#text = "Sold-to"/"Bill-to


Shai

Former Member
0 Kudos

Thank you Shai Lapidot,

I tried with script code  it worked..

Answers (1)

Answers (1)

Former Member
0 Kudos

The solution for this using Java script is

Textfield.caption.value.resolveNode("#text").value = "Caption";

Regards,

Srinath R