| Post |
|
zzoeller - Guest
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?
|
|
|
Oliver
- Admin
7:10 pm - July 28, 2008
posts 3656 |
| |
|
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.
|
|
|
zzoeller - Guest
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?
|
|
|
Oliver
- Admin
8:55 pm - July 29, 2008
posts 3656 |
| |
|
|
|
tammyhart - Guest
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
|
|
|
Oliver
- Admin
10:51 pm - July 30, 2008
posts 3656 |
| |
|
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.
|
|
|
tammyhart - Guest
11:31 pm - July 30, 2008
|
| |
|
|
|
Andrew - Guest
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.
|
|
|
Oliver
- Admin
7:45 am - August 28, 2008
posts 3656 |
| |
|
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...
|
|