cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I set a value on a form to equal another field?

In InfoPath, fields can equal other field values. Nothing I'm trying is working. I simply want to say "Field 1" = "Field 2"

Labels: (3)
Tags (1)
0 Kudos
Reply
7 Replies
janvonreith
Nintex Newbie

Re: How do I set a value on a form to equal another field?

Hey Angela,

could you give us some more Information on what you want to achieve?

Best regards,

Jan

0 Kudos
Reply
Automation Master
Automation Master

Re: How do I set a value on a form to equal another field?

You can use a calculated field to replicate the value of another control such as a text box.  In the formula of the calculated control you'd drop a reference to the Named Control of the text box.   So whatever you typed in text box would auto appear in the calculated field.  

The second way to do this is to use JavaScript to set the value of one control equal to another.

Thanks,

Mike

Reply
lynn_dearing
Nintex Newbie

Re: How do I set a value on a form to equal another field?

Yes please me too.  I simply want to say "Field 1" = "Field 2".  I am using Nintex forms and I have a calculated field called "calcContactName".  I would like the value of "calcContactName" to be the default value of another field called "Assigned To" (which is a people picker control). If I have to push the "calcContactName" value into another field as a text value and then have the people picker reference that one, I'd be okay with that.  I am very new to formulas and don't know how to accomplish this.

0 Kudos
Reply
Automation Master
Automation Master

Re: How do I set a value on a form to equal another field?

Hello,

Could you display the formula you are currently using in the calculated field?   Usually the calculated field would pull the value from the people picker as opposed to pushing the value to it.   There may be other ways do it depending on what you are attempting.


Thanks

0 Kudos
Reply
lynn_dearing
Nintex Newbie

Re: How do I set a value on a form to equal another field?

Thank you for your response. We finally got it to work. My coworker was able to accomplish it finally with some java script.

Lynn Chastain Dearing, CSCP

Training & Development Specialist/Project Manager

McKee Foods Corporation

(423) 238-7111 Ext. 22344

Lynn.Dearing@McKee.com<mailto:Lynn.Dearing@McKee.com>

0 Kudos
Reply
Automation Master
Automation Master

Re: How do I set a value on a form to equal another field?

Great to hear - JS to the rescue, works like a charm for me all the time

0 Kudos
Reply
sonyirump
Nintex Newbie

Re: How do I set a value on a form to equal another field?

Hi I am looking for the same thing .

Is it possible to share the java script to accomplish this ?

0 Kudos
Reply