What I want to accomplish is that I have a field defined in my layout.xml file, and when creating a new record certain form values should be set from the default defined when creating a menu item to the view.
So in my edit.xml file for the volunteerapplication layout I have which allows me to select a specific event when creating a menu item to the application.
<field name="event"
type="modal_event"
label="Select Event"
required="false"
default=""
description="Select Event"/>
How do I set the default form field values using this information?