The #text
variable in WS Form can be used to dynamically copy text from one field to another in the default value setting. It can also be used in the Label, Placeholder and Help Text settings of a field too to allow for dynamic label, placeholder and help text on a field.
Demo
Field Configuration
To achieve this, the following is entered into the Label, Placeholder or Help Text setting:
#text(#field(123))
… where 123 is the source field ID you want to copy the value from. This can be any text based field such as a text or hidden field.
Example field configurations are shown below: