I am new in AdobeLiveCycle Designer. So I have one question?
I have dropdown list with "JA" and "NEIN".
And I want in Textfield to write "CHO" when is "JA" If Nein "Freihandlabor".
Can you help me with code, I am using FormCalc
Solved! Go to Solution.
Views
Replies
Total Likes
Select your dropdown with the items JA and NEIN. In the Binding under the Object palette check off Specify Item Values. Assign the Value 'CHO' for 'JA' and so forth.
Assuming your Textfield is named TextField1 enter the following code in the change event of your dropdown:
TextField1.rawValue=this.boundItem(xfa.event.newText);
Kyle
Views
Replies
Total Likes
Select your dropdown with the items JA and NEIN. In the Binding under the Object palette check off Specify Item Values. Assign the Value 'CHO' for 'JA' and so forth.
Assuming your Textfield is named TextField1 enter the following code in the change event of your dropdown:
TextField1.rawValue=this.boundItem(xfa.event.newText);
Kyle
Views
Replies
Total Likes
Thank you very much, it works perfect.
Views
Replies
Total Likes
I have one more question.
Now I have NumericField and i want to be calculated
( IF TextField1 is Freihandlabor then is "0", if is "CHO" then NumericField3 = NumericField1 * 3 + 300)
I'v tried with this formula but TextField1 is converting too.
Thank you
Views
Replies
Total Likes
Code looks good to me. Make sure it's in the calculate event of NumericField3 and language is set to FormCalc.
Kyle
Views
Replies
Total Likes