Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anthony Candaele 1197 posts 2049 karma points
    Dec 30, 2011 @ 13:30
    Anthony Candaele
    0

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Dec 30, 2011 @ 13:47
    Tom Fulton
    1

    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

  • Anthony Candaele 1197 posts 2049 karma points
    Dec 30, 2011 @ 14:33
    Anthony Candaele
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft