Hi..I want to make some of my text fields to auto fill with zero(0), when the user selects NA in dropdown.. How can I achieve that? Is there any rails way to do that??
What I have tried:
I have seen lot of jquery to accomplish auto fill values.. I am new to rails as well as am zero at jquery.. That is why I am looking for a rails way to do that.