Add a blank row/empty row as a new instance of a table if first row has default text?

Avatar

Avatar

BGreggs4

Avatar

BGreggs4

BGreggs4

15-09-2020

Screenshot1.png

Button.png

I currently have a repeating row with a +/- button. The first row has default text (first image pictured).

When I click the + button, I would like to create a new row but the text fields should be blank. I've been testing different ways but can't seem to get it right. Any suggestions?

 

Thank you for your help!

(Side Note for my + button: The first line of code adds a new instance, the second line of code adds a new row in between rows)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Kosta_Prokopiu

Avatar

Kosta_Prokopiu

Kosta_Prokopiu

15-09-2020

Don't use the default value of the fields but use initialize event with JavaScript to fill

Kosta_Prokopiu_0-1600208016936.png

Same for the second field

Kosta_Prokopiu_1-1600208052098.png

Kosta_Prokopiu_2-1600208084681.png

 

Answers (0)