Hello,
I'm using Joomla with ChronoForms 7.
I've got different pages for different products. Each page displays a form where the user can send a message asking for more information about that product.
I don't want to ask the users to write the name of the product they are interested in.
Is it possible to receive the name of the product (in this case it would be the Article name) with the rest of the contact form fields?
Or the whole URL, I don't mind... for example: domain-name.com/category-name/product-name
Thank you.
I'm using Joomla with ChronoForms 7.
I've got different pages for different products. Each page displays a form where the user can send a message asking for more information about that product.
I don't want to ask the users to write the name of the product they are interested in.
Is it possible to receive the name of the product (in this case it would be the Article name) with the rest of the contact form fields?
Or the whole URL, I don't mind... for example: domain-name.com/category-name/product-name
Thank you.
Hi innova,
The page url is included with the form data - check the ShortCodes list to see what it is called. It should then be possible to include that data in your email - but it may require some custom code to add it.
Bob
The page url is included with the form data - check the ShortCodes list to see what it is called. It should then be possible to include that data in your email - but it may require some custom code to add it.
Bob
Hi Bob,
I've tried just inserting {page:title} and {page:url} shortcodes inside the form body (settings/adming email) but I don't get any data.
Then I've tried with the shortcode {url:_self} and I've received the next information within the form message:
https://domain-name/category-name/product-name/chronoform=form-name&gpage=end_page
Essentially is what i wanted but the url has also the form name, etc. at the end.
I don't know if this is all correct, if I'm doing something wrong... is there another way to do it better?
Thank you.
I've tried just inserting {page:title} and {page:url} shortcodes inside the form body (settings/adming email) but I don't get any data.
Then I've tried with the shortcode {url:_self} and I've received the next information within the form message:
https://domain-name/category-name/product-name/chronoform=form-name&gpage=end_page
Essentially is what i wanted but the url has also the form name, etc. at the end.
I don't know if this is all correct, if I'm doing something wrong... is there another way to do it better?
Thank you.
Hi innova,
It looks as if you are using the shortcode when the form submits and so you are getting the On Submit URL. Please try using the shortcode in the Load page and you can save the URL - or extract the product name - to the user session or include it in a hidden input in the form.
Bob
It looks as if you are using the shortcode when the form submits and so you are getting the On Submit URL. Please try using the shortcode in the Load page and you can save the URL - or extract the product name - to the user session or include it in a hidden input in the form.
Bob
You need to login to be able to post a reply.