Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
Re: Reset button do not reset output form 15.10.2012 09:20
Hello,
yes, reset button targets only input form, but you can force it to clean the output as well. Add these lines to the javascript tab:
seed=$('cb_layout_wrapper').getParent().getProperty('id').substr(0,$('cb_layout_wrapper').getParent().getProperty('id').indexOf("_"));
$$("input[type=reset]")[0].addEvent("click",function(event){
$(seed+"_cb_result").setStyle("display","none");
});
That should do the work.
Regards
Moonsoft Team
www.moonsoft.es
yes, reset button targets only input form, but you can force it to clean the output as well. Add these lines to the javascript tab:
seed=$('cb_layout_wrapper').getParent().getProperty('id').substr(0,$('cb_layout_wrapper').getParent().getProperty('id').indexOf("_"));
$$("input[type=reset]")[0].addEvent("click",function(event){
$(seed+"_cb_result").setStyle("display","none");
});
That should do the work.
Regards
Moonsoft Team
www.moonsoft.es
Re: Reset button do not reset output form 15.10.2012 21:31
Yes, it's already included for next release, thank you for your feedback.
Regards
Moonsoft Team
www.moonsoft.es
Regards
Moonsoft Team
www.moonsoft.es