You are viewing limited content. For full access, please sign in.

Question

Question

Reset Table content in Forms

asked on October 18, 2016 Show version history

Is there a way to reset table values in Forms please? Like if I click on a button, it should reset my table.

 

Thanks

Priya

0 0

Replies

replied on October 18, 2016

You would have to use javascript to do that.

0 0
replied on October 18, 2016

Thanks. I am having a html button and firing onclick event. But the form always submits when I click that button, it does not fire the onclick event.

0 0
replied on October 18, 2016

That is the default response when a button is clicked in Forms. It thinks that the from is being submitted, so you will want to prevent that default behaviour.

$("#btnTest").click(function(e) {
    e.preventDefault();
    console.log('clicked');
});

 

0 0
replied on October 18, 2016

Thanks

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.