Link to home
Start Free TrialLog in
Avatar of KenBoat
KenBoat

asked on

Populating a field with another field results

How do I get a field to equal/get information from another field on the same form?
Avatar of Arunkumar
Arunkumar

just have the second field computed and the value (formula) to have the first field name (without quotes).

As and when the document refreshes the second field will get the value from the first field.

The refreshing could be done automatically by setting form properties automatically refresh fields, or the first fields (if its a list then switch on the refresh fields on keywordchange etc)

Or the process is automatically carried by the save event of the form when its saved.

-Arun.
Avatar of KenBoat

ASKER

What would the value formula look like?
Avatar of CRAK
If you have a field "A" (edit) and another field "B" (take's value of field "B") you could easily do so in edit mode:
for editable fields, use the translation formula area, for computed fields, use the value-area. In both cases, simply enter the fieldname, without quotes:
A

Both fields should have the same type definition: text, number or whatever. You can't inherit text into a number field....

If you want B to inherit A's value while NOT in edit mode, you'll need more code. Let us know if you do.
Avatar of KenBoat

ASKER

Yes, more code is exactly what I need.  I'm doing it this way because I have to create a SendTo field in order for my action button to work.  I already have a field called "doccontact" on a response document which is inherited from another document.  The recipients name is in the "doccontact field, but the action button will not work because its name is not SendTo.  I decided to create another field and call it SendTo and then inherit/copy the information from the doccontact field name.
ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KenBoat

ASKER

Thanks, I appreciate your help
Zvonko!  do you think 300 with "A" is fair for this one ?

:-)
PS: I will email you something soon.
Do you think 500 is better!?! :-)