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

problem using resolveNode to change text value

Avatar

Level 2

i have a text field which i am trying to change by using a dropdown.

form1.purchaseOrder.header.DropDownList1::change - (JavaScript, client)

  

if (this.rawValue == 1)

EstimateValid.xfa.resolveNode("caption.value.#text").value = "Due to material price changes throughout the year all our estimates are valid for a period of 30 days unless mentioned otherwise elsewhere in this estimate.";

else

EstimateValid.xfa.resolveNode("caption.value.#text").value = "This is not a V.A.T. receipt.  If you require a V.A.T. receipt please ask for the receipt for the car parts purchased for your car.";

the binding has been set up

any pointers please

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You need to take the xfa out of the assignment, should be just

EstimateValid.resolveNode

not

EstimateValid.xfa.resolveNode

Regards

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

You need to take the xfa out of the assignment, should be just

EstimateValid.resolveNode

not

EstimateValid.xfa.resolveNode

Regards

Bruce