Skip to main content

Hi, I am building a form where it replaces an existing text with a new custom text.

The original existing text would be shown on a drop down list and the idea is to let the user select the original value and has the original value shown on another editable field for them to modify.

below is the UI

 

So let’s say on ‘OriginalValue_headers` drop down field user selected “ABC”, I want ‘Replace text to’ field to be auto populated with “ABC” upon user selecting it on the drop down. And if User change the value selected on the drop down, value on ‘Replace text to’ field would agan be replaced by the selected value.

 

How do I achieve this? I tried to use the default value feature but doesnt seem to have any suitable selection for this..

 

Thank you

Hi @misheru 

You are using the Responsive Form (not New Responsive Form, not classic Form)

What you want to accomplish is to set the value of the Text control to the current value of the Choice control whenever the Choice control is updated, right?

 

You can achieve this by using a Form Rule.

 

Steps.

  1. Ensure that you provide a name for your Choice control. “Choice”
  2. Click to set focus on the Text control, then click “Add Rules” on the Toolbar.
  3. Add a rule as above.
    When: Choice != “” 
     - use the Formula Builder. “Choice” must be selected from the Named Control. 

    Then: Select “Set Value” 
  4. Value: Choice
    - use the Formula Builder (highlighted). “Choice” must be selected from the Named Control. 

     


Reply