Hello All,
I have added a custom page for member assignment logic depending upon distance gender and age
I have used below code
var me = this;
this.ftv=frappe.ui.form.make_control({
df: {
“fieldtype”: “Link”,
“options”: “First Time Visitor”,
“label”: “First Time Visitor”,
“fieldname”: “ftv”,
“placeholder”: “First Time Visitor”
},
“only_input”:true,
parent:$(me.wrapper).find(“#ftvi”),
});
this.ftv.make_input();
this.ftv.$input.on(“change”, function() {
var ftv=me.ftv.$input.val();
me.show_members(ftv)
});
I have to add filters (getquery) for above link field?
Thanks and regards,
Gangadhar kadam