Update Dependant Field Label Based On Parent Field Value

In this guide, we will explain how to update the label based on a previous field's value input by the user using JavaScript.

Drag and drop some Fields with a JavaScript field as shown below.

image

Click the pencil icon of the JavaScript field and paste the code.

image

Please use this code:

Try the form.

image

After entering the First Name field value.

image

For any questions, please get in touch with us - [email protected] or the Formyoula in-app chat 🙂