Hi,
I want to use a html5 form to pass values into my sitemap eg
form action=enquiry method=?
input type=text name=fromnameplaceholder=Your Name
required=''/
How do I pass fromname into enquiry
Regards
Peter
Hi Peter,
In the sitemap you have access to request parameters via Jexl:
map:match pattern=enquiry
map:generate type=someGeneration
map:parameter name=from
value={jexl:cocoon.request.parameter.fromname}/
...
However, it may be far more convenient to use the
On 06/27/2013 02:32 PM, Jos Snellings wrote:
Hi Jos,
nice post! Small enhancement see above.
Hi Peter,
In the sitemap you have access to request parameters via Jexl:
map:match pattern=enquiry
map:generate type=someGeneration
map:parameter name=from