Hi! I am new to JSL.
I am trying to create an interactive script where in the user can add/remove an input with button click.
Here's my script:
dlg1 = Dialog(
Vlist(
Hlist("First Name", name1 = Edit text(), Spacer(""), "Last Name", name2 = Edit text()),
Hlist("First Name", name1 = Edit text(), Spacer(""), "Last Name", name2 = Edit text()),
Hlist( add = button("Add"), del = button("Remove"))
));
please help 