| Post |
|
Guest
| zzoeller 6:50 pm July 28, 2008
| |
|
|
Please replace the ??? with your data!
- Your URL: http://???
- The browser used: ???
- cforms version: ???
- Your Wordpress version: ???
[desc]: _
Hello
I'd like to use a partial sidebar form with a name and email field to redirect to a complete form and fill in those fields.
Is there any easy way to do this or should I just use an html form?
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:10 pm July 28, 2008
| |
|
|
yep, real easy.
- create two forms: simply clone your default form
- one the first form:
- strip form to only include the fields you want (name etc)
- configure the FORM ACTION setting to point to the page that contains form #2
- add first form to the sidebar
- adjust CSS for this specific form (width etc.)
- second (complete) form:
- add second form to a page and copy permalink (used for above FORM ACTION)
done.
the second form should (since some of the fields have the same name!) take over the initially provided data.
|
|
|
|
|
Guest
| zzoeller 5:50 pm July 29, 2008
| |
|
|
Oliver,
I set up the forms like your last post said and the redirection works but the fields do not carry over / auto-fill…
Any ideas?
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:55 pm July 29, 2008
| |
|
|
|
|
Guest
| tammyhart 10:29 pm July 30, 2008
| |
|
|
followed the directions, and it redirects fine to those pages, bust doens't fill in the data
leo . squatpad . com – first form
leo . squatpad . com /contact-us – complete form
|
|
|
Admin
| Oliver Munich, Germany posts 6237 10:51 pm July 30, 2008
| |
|
|
Sorry forgot to mention that of course the field IDs have to match.
E.g. for "Your Full Name", enter "Your Full Name[id:full_name]" in both your forms
…and make sure to enable CUSTOM ID/NAMES for form fields in each config.
|
|
|
|
|
Guest
| tammyhart 11:31 pm July 30, 2008
| |
|
|
|
|
Guest
| Andrew 12:54 am August 28, 2008
| |
|
|
Is it possible to do this without using the first form from the sidebar? I am trying to make this work using 2 pages but something is not working and I am not sure if it is a problem with my forms or a problem with cforms in general. Here is what I have:
Form #1
fields: name, email
enabled id's and added them fields
submit form data to: Page #2 permalink
Form #2
fields: name, email, comments
enabled id's and added to fields as above
In essense the form #2 is a clone of form #1 with an extra field and the submit form data part removed.
Page #1
contains form #1
Page #2
contains form #2
When I goto page #1 I see form #1 and the id's are correct. The form submission sends to the correct permalink to page #2 but when it tries to load the permalink it gives me a 404 error. If I go directly to page #2 using the same permalink it shows me form #2.
Any ideas what may be the problem? I am using the latest version of cforms and version 2.6.1 of wordpress.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:45 am August 28, 2008
| |
|
|
Sounds like you're doing the right thing. Have you checked your .htaccess / security settings that may prevent loading the specific URL from a _POST action? Your provider may be able to shed some light on that.
Also, providing URLs to look at always helps…
|
|
|
|
|
Guest
| Sarah 10:32 am December 27, 2008
| |
|
|
Hi there. I'm trying to work this solution on my site for some forms, but can't seem to get the field values to pass along. I've read in places that sometimes wordpress' .htacess rewrite rules can mess with data not getting passed on with the action="POST". Could this be happening, and if so, is there a workaround?
I set up a testform here.
The second page is here.
In the first page and second, I used the [id:form_name] format to give custom ID names, as well as enabling that function in the admin. Then I checked the "enable form action" box and redirected to the second page.
Any obvious thing I"m missing for why this won't work? Thanks!
|
|
|
Admin
| Oliver Munich, Germany posts 6237 9:41 am December 28, 2008
| |
|
|
here is the great news: i'm close to releasing v9.5 which will come with multi-page/part forms.
which will allow you to
- go back and forth between forms
- gather data across all forms
- reset forms
- etc.
let me know if you'd like to beta test.
(of course this only makes sense if you stay on your own server & don't want to pass on the data to a 3rd party)
PS: your example looks right, but you're running a very old version of cforms, it's likely to be a bug.
|
|
|
|
|
Guest
| Sarah 3:09 pm December 29, 2008
| |
|
|
Thanks for the info.
I would be interested in the beta test, but at very least will get things upgraded to the current version soon.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:48 pm December 29, 2008
| |
|
|
just sent out the beta, due to a major admin UI update, the next version will be v10.0.
|
|
|
|