Skip to main content
samadritam1018
February 10, 2023
Question

On choosing a different dropdown value than the previous one, I want the rest of the text boxes to become empty for me to fill in new values.

  • February 10, 2023
  • 2 replies
  • 0 views

In a form, Suppose I have 3 values in my dropdown- A,B,C.  I have chosen A and filled the remaining text boxes accordingly, but I want to change the dropdown value to B. On changing i want the remaining values of the boxes to be empty so I can fill them again. How can I achieve this?

2 replies

harshitb6843
February 10, 2023

Inside a!save, you can compare the save!value with the actual where this value will be saved and if it is different, then set the textFields to null!

February 14, 2023

On choosing the different value just save all the other form values to null in "saveInto" field with the help of a!save() function.