Set the default field to the value of a previous variable
Hi there,
Is it possible to use a variable from a previous form as the default value (only) in another form?
For example, a previous form has the name 'totalhours' and calculates a total value of 6.25.
In my next form I would like to reference that value as the default value in a new text field, but allow the user to enter a new value independent of the previous variable 'totalhours'.
I see other posts where it is possible to set the defaultvalue, but I am unable to work out the javascript to my particular circumstance. In other words, I would like the default value for my new field 'desiredhours' to be generated from 'totalhours' merely as a default value.
If that's not clear enough, let me add that if I enter a new value in 'desiredhours' it will be a new value and not affect the original 'totalhours' it merely uses the value as a display start point.

As an aside - it would be great if I could simply reference a field name in the 'default value' dialog box of options. (With no javascript required)