Hello I am trying to create a button that links to a page with a contact form already present. What I want is for the button to auto fill a few text boxes through the link. I had a look at this post http://www.chronoengine.com/forums/posts/f2/t92137.html , but for some reason I keep getting a 404 when i tried. What are the steps to getting it set up properly? I am using a local client.
Forums
How to get chronoform to fill using a link
Hi Datty,
What URL are you using in the link? If you get a 404 message presumably it's not a valid URL. The code in the FAQ works correctly.
Bob
What URL are you using in the link? If you get a 404 message presumably it's not a valid URL. The code in the FAQ works correctly.
Bob
For example I want the name field to be automatically filled in with a link on the page called contact would I use this link:
localhost/mysite/contact?option=com_chronoforms&view=form&Itemid=1&name=Datty
I assume Item id is found in the chronoform which is currently 1. The form already exists on the page as I want to use that one form but have many different links fill it up depending on where the user accesses it from.
localhost/mysite/contact?option=com_chronoforms&view=form&Itemid=1&name=Datty
I assume Item id is found in the chronoform which is currently 1. The form already exists on the page as I want to use that one form but have many different links fill it up depending on where the user accesses it from.
Hi Datty,
That's mostly correct . . . except that ItemId is the Joomla! Menu item. You can either use that if it's a CF Menu item, or you can include the form name in the URL
Note that I've also replaced the first 'contact' with index.php and removed the view parameter (I think that's also used by the Menu).
Bob
That's mostly correct . . . except that ItemId is the Joomla! Menu item. You can either use that if it's a CF Menu item, or you can include the form name in the URL
localhost/mysite/index.php?option=com_chronoforms&chronoform=my_form_name&name=Datty
Note that I've also replaced the first 'contact' with index.php and removed the view parameter (I think that's also used by the Menu).
Bob
I am still unsure as why it is not working, would the auto fill work if the form was embedded using code in an article?
Hi Datty,
I can only speak with certainty about CFv4 but I think that CFv5 probably does the same.
Bob
I can only speak with certainty about CFv4 but I think that CFv5 probably does the same.
Bob
Ive installed CFv4 instead but i still cant quite get it to work, I may be setting it up wrong. Which field in the form wizard will I need to give the label "name" for it to fill?
This topic is locked and no more replies can be posted.