Referencing parent field using getdocfield in new responce docs.

Hi I'm trying to reference a field of a parent from a new responce doc.  I'm using a @getdocfield but I keep getting an error message "invalid unid, unid must be 32 characters long."  I know the $Ref field doesn't get populated until you save so I tried putting
@If(@IsNewDoc;@Command([FileSave]);"")in the postopen event but that didn't help solve the problem.  What am I doing wrong?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

HemanthaKumarConnect With a Mentor Commented:

Use Form Property, "Formulas Inherit values from selected document". And setup the default value for the field in the response to have the fieldname of the parentdoc.

Good Luck
All Courses

From novice to tech pro — start learning today.