Copied to clipboard

Flag this post as spam?

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


  • Robin Nicholl 137 posts 277 karma points
    Oct 02, 2016 @ 20:36
    Robin Nicholl
    0

    Umbraco Forms set value of hidden field

    I'd like to set the value of a hidden field, named "Job Name", to the name of the page node. This is for an application form: the client will add a new page to the "Applications" node called, say, "Clerical Assistant", and I want the "Job Name" field to be populated with the name of the page they create for that job.

    I can do it with a bit of jQuery, but there must be a way to set it via the "Default Value" field?

    I also want to add an email to the form's workflow, to be sent to the person who completes the form… but I can't see where/how to set that either.

    Thanks

  • Steve Morgan 1346 posts 4453 karma points c-trib
    Oct 03, 2016 @ 08:36
    Steve Morgan
    0

    Hi Robin,

    You can set values from the page - for the page name it's:

    [#pageName]
    

    HTH

    Steve

  • Robin Nicholl 137 posts 277 karma points
    Oct 03, 2016 @ 10:34
    Robin Nicholl
    0

    That's great, thanks Steve ;)

    Separate (related) question: I've got the email of the person who completed the form into the workflow, but it sends them all the info from the form, just like what's sent to me, ie including the link to any files they've uploaded, like "/media/forms/uploadForm1234567890-abcetc.pdf". How can I customize what's sent?

    Thanks

    Robin

  • Steve Morgan 1346 posts 4453 karma points c-trib
    Oct 03, 2016 @ 10:38
Please Sign in or register to post replies

Write your reply to:

Draft