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 :

  1. first name - can done using umbraco forms
  2. last name - can done using umbraco forms
  3. email address - can done using umbraco forms
  4. 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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -