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.
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?
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
Hi Robin,
You can set values from the page - for the page name it's:
HTH
Steve
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
Hi Robin,
Try working through this
http://stackoverflow.com/questions/28431623/umbraco-7-2-forms-not-contour-customize-the-email-work-flow
Kind regards
Steve
is working on a reply...