I have created one “Demo Doc” (Doctype) and added “Child Doc” as child table in that DocType. I want to consume script for that Child Doc controls. Example: I have one field “City” (As type= Data) in the “Child Doc” and want to set the default value using the script on load of “Demo Doc”.