AnsweredAssumed Answered

How to reset Fields based on the value of radio button(used as button by selecting"Render as buttons")

Question asked by chaithra on May 17, 2016

Hi,

I have different fields,

1.)If i fill one tab details and later got to know that, this is not the tab where i should fill.

2.)So went to next tab to fill the details but on clicking submit button, previous tab filled values are also getting saved.

But i need to reset the previously filled values. How can i achieve it?

 

This java script not worked for me:-

 

NWF$(document).ready(function(){

var obj = NWF$("#" +Choices);

obj.change(function(){

NWF$("#" + TextBox ).val(''); //I’m just adding my text box for reset on choice field, but you can list down all the fields here that you want to reset when choice field select other option.

} );

} );

 

can anyone please help me out!

Outcomes