I need add text entry row and remove by button or automatically. Like someone fill text entry then second text entry will add. client is needed so there is any way to get by buttons or automatically. Plz client needed this alot with data saving. Thnak You
Page 1 / 1
Hi there, if you still need, I was able to put this in place with a button by tweaking the code in this thread. Try creating a Form Field question and adding the below to the question's JavaScript in the OnReady section:
var that=this.questionId;
jQuery("#"+this.questionId+" tr:not(:eq(0))").hide();
jQuery("").insertAfter("#"+this.questionId+" tr:last");
jQuery("#add").on('click',function(){
var c=jQuery("td.ControlContainer:visible").length;
jQuery("#"+that+" tr:eq("+c+")").show();
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.