Sharing fields without subforms
I am designing only my second live-use form, so bear with me!
I have designed a set of forms to allow data on agreed locations for the construction of sewer pressure stations on private properties. There are two forms that both contain the ESRI map element together with photographs and some other specific fields, and a third form for additional photographs. Over all of these I intended to have a parent form that records the date of collection and the address. However, as the ESRI element cannot be used in subforms I am faced with having the address and date be entered multiple times i.e. into each form separately, unless there is another way I can have them be entered once and shared across forms?
The idea is that the address and date link the forms as well as providing their own data to work with.
-
Hi Chris,
If your passing data to subforms, then you can just use {parent_dcn} as the dynamic value in the subforms field.
If its data that present on a subform/s then you can use the following to pull that data back up to its parent.
parent_form_dcn.subform_widget_dcn[0].subform_field
[Parent_form_dcn] = The forms tablename
[Subform_widget_dcn] = The Subform Widget name
[subform_field] = this is the field of data that you want to send to the parent.
hope the above helps somewhat.
-
Hi Karl,
I cannot use subforms due to the need to have the ESRI map element in what would otherwise be subforms. They have to be main-level forms instead, meaning I need to find another way of sharing common data, or have it entered multiple times which is less than ideal. I'm not sure if your solution addresses this, as I am learning about forms as I go.
I will also need to find a way of associating the forms together as they will all relate to a particular address, and then be used again for multiple other addresses - probably a short unique ID for that.
Thanks,
Chris
-
Hi Chris,
Ok so if the fields, are all based in one form, just later on, you should just be able to use {SOURCE_DCN} on any field to replicate its data, or you can split to raw data from ESRI, into those fields, that way it should pass data through that form to the required fields.
thats presuming im understanding you right.
Please sign in to leave a comment.
Comments
4 comments