where the id parameter is the id of the job he wants to apply for
I prepopulate the form fields of the apply for job form using the {member.property} syntax, but I don't know how I can populate the field "Function Title" as this is not a property of the member, but a property of the job document type.
Can Contour fields be prepopulated with document type properties?
Yes, I believe you can use [#propertyAlias] to grab a property from the current page. But, this won't work for you if your Apply page is a separate page from the Job Position since the property won't be available. One way you could achieve this though is to call the Apply page as an altTemplate to the Job Position - that way the currentPage would still be the Job and you could pull in any properties you like. You could call the page like /your-job-position/apply-for-job.aspx
Otherwise, you could pass the function title in the querystring and use [@requestKey] to access it
Again you help me out. I added a Webform template as an alternative template to the job documenttype and by using multiple templates to the job documenttype I can read out properties of the job document type in my Contour form fields using the [#propertyAlias] notation.
pre-populating Contour form field
Hi,
I have a Contour form "apply for job"
If a member of membertype jobseeker clicks the link on a job-document the member is directed to the "apply for job" form
the link is formatted like this: http://localhost/apply-for-job.aspx?id=1367
where the id parameter is the id of the job he wants to apply for
I prepopulate the form fields of the apply for job form using the {member.property} syntax, but I don't know how I can populate the field "Function Title" as this is not a property of the member, but a property of the job document type.
Can Contour fields be prepopulated with document type properties?
Thanks for your help,
greetings,
Anthony
Hi Anthony,
Yes, I believe you can use [#propertyAlias] to grab a property from the current page. But, this won't work for you if your Apply page is a separate page from the Job Position since the property won't be available. One way you could achieve this though is to call the Apply page as an altTemplate to the Job Position - that way the currentPage would still be the Job and you could pull in any properties you like. You could call the page like /your-job-position/apply-for-job.aspx
Otherwise, you could pass the function title in the querystring and use [@requestKey] to access it
Hope this helps,
-Tom
Hi Tom,
Again you help me out. I added a Webform template as an alternative template to the job documenttype and by using multiple templates to the job documenttype I can read out properties of the job document type in my Contour form fields using the [#propertyAlias] notation.
Thanks a lot,
Anthony
is working on a reply...