how can i hide this
First, set the series as default and save it. then you can hide them easily.
like how? i also applied client script but not working?
but there is a hidden button why its not working
If that doesn’t work please write a small client script.
frappe.ui.form.on(‘Quotation’, {
onload: function(frm) {
// Directly hide the naming series field
frm.fields_dict.naming_series.$wrapper.hide();
}
});
solution
Hi @Mubasher,
Do not apply this way! You can easily set using toggle_display
. So see below code.
frappe.ui.form.on("Quotation",{
refresh(frm){
frm.toggle_display("naming_series", false);
}
});
1 Like
toggle display function is used when field has toggle option i first tried with this but this is not working mine is working perfectly…