Expand my Community achievements bar.

SOLVED

Null Problem

Avatar

Level 5

Text1 is set with following step:

Pattern > display > allow empty > "Your name"

Text2 is set with script in calculate event:

this.rawValue=xfa.resolveNode("Text1").rawValue;

It works well. However Text2 shows "null" as default. I wish  Text2 will show "Your name" as default value.

How can I solve it?

1 Accepted Solution

Avatar

Correct answer by
Level 4

just copy the rawValue of text1 to text2 on exit event, please download the updated form from the link below

http://www.megaupload.com/?d=X69XXYI9

let me know, if you have more questions?

cheers,

View solution in original post

6 Replies

Avatar

Level 4

Hi,

     Display pattern value is not the property for rawValue, instead you get the value from "textfieldname.format.picture.value". Though if you need to get the display property value, please download the sample from the link below and i hope this helps you

http://www.megaupload.com/?d=E15BDXPA

I implemented what you need, but i am sorry that i didn't get your intension. Can you please let me know?

thanks

Avatar

Level 5

Would you tell me what you mean by textfieldname.format.picture.value?

Avatar

Level 5

Sorry sir Text2 does not change with the Text 1. So, how can I solve it?

Avatar

Correct answer by
Level 4

just copy the rawValue of text1 to text2 on exit event, please download the updated form from the link below

http://www.megaupload.com/?d=X69XXYI9

let me know, if you have more questions?

cheers,

Avatar

Level 5

Hi urajesh9g,

Thanks. Working nice.

Avatar

Level 5

little problem left.

I wish in text1: your name  but text2 show "your name," .

Just comma "," will be add in text2 not text1.

Would you tell me how can I solve it?