asp.net mvc 4 - Submitting custom content - Umbraco Forms -
i thinking of buying umbraco forms before wanted check whether 1 thing possible , easy do.
as part of "book holiday package" form, want user see (currentpage.packagename) package name user booking package for. struggling "currentpage" not recognised in forms section.
i want able track following fields :
- first name - can done using umbraco forms
- last name - can done using umbraco forms
- email address - can done using umbraco forms
- which holiday package enquiring for: "needs fetch current package name". (probably displayed on form label)
at end of form, user should email package name he/she enquired , admin should email package has been requested user.
is possible using umbraco forms ? or have write custom mvc , manually ?
any appreciated.
thanks, vishal
you can add hidden field, , insert page level variable using special syntax.
lets assume current package name field on page form sat on, , has alias "currentpackage". include field in hidden field, edit field, , in default value field hidden field, add "[#currentpackage]". should cause field save name of package.
you can create own xslt email templates in forms, , long you've saved current package in form, can access on templates.
Comments
Post a Comment