I have customized my employee doctype. Customized form contains a assigned_city field. This field is currently a select field type.
What I want is that a employee can be assigned multiple cities. So the assigned city should be something sort of an array.
Is there a array type field which can be included in custom doctype?
Make it a Check field instead of Select.
I have some 40 cities which I need to add. How can I add single field to show these many values?
priya_s
4
@neeraj_yadav, You can also add child table in employee for cities and link them to city master.
Thanks, Priya
Thanks @priya_s . I’ve added a child table for cities. Is it possible to have master table added as child table.
This way I’ll have a master table for city name and city id and add it as child table to Employee.
I’ve tried adding normal doctype table and its working fine.
Normal doctype is fine, it does not have to be explicitly marked as child table.
1 Like