I have a partial form with a 'Name' and 'Email Address' field with a 'Next' button inside a module (Chronoform module). This data needs to be passed to another web page with the full form and have the 'Name' and 'Email Address' fields already filled in.
Is there an online tutorial that can assist with this type of setup? Data does not need to be recorded in the database, if that matters.
Thank you.
Is there an online tutorial that can assist with this type of setup? Data does not need to be recorded in the database, if that matters.
Thank you.
Hello toad,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How to post information from a Chronoform to ZoHo
What are the 'Easy Form' and 'Form' Wizards?
How can I add a mask to format a form input?
How can I automatically copy fields from one part of my form to another?
My form data isn't saving to the database correctly
How do I save form data to a database table?
How can I pass form data to another site?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How to post information from a Chronoform to ZoHo
What are the 'Easy Form' and 'Form' Wizards?
How can I add a mask to format a form input?
How can I automatically copy fields from one part of my form to another?
My form data isn't saving to the database correctly
How do I save form data to a database table?
How can I pass form data to another site?
P.S: I'm just an automated service😉
Hi toad,
If this is another ChronoForm then you can use the Data to Session action in the On Submit event of the first form and a Session to Data action in the On Load event of the second one. If the input names are the same then the data will be published for you.
Bob
If this is another ChronoForm then you can use the Data to Session action in the On Submit event of the first form and a Session to Data action in the On Load event of the second one. If the input names are the same then the data will be published for you.
Bob
Hi,
Another way to do it, you can simply set the "action url" of the module mini form to the url of the main form, the fields names in the mini form should match the ones in the main form, that should do what you need!
Regards,
Max
Another way to do it, you can simply set the "action url" of the module mini form to the url of the main form, the fields names in the mini form should match the ones in the main form, that should do what you need!
Regards,
Max
admin,
For the URL, can it be either the SEF Url or does it have to be the Non-Sef URL?
For the URL, can it be either the SEF Url or does it have to be the Non-Sef URL?
Hi toad,
Try the SEF URL, if that doesn't work switch back to the non-SEF URL.
Bob
Try the SEF URL, if that doesn't work switch back to the non-SEF URL.
Bob
Using Chronoforms 4, I have set a Redirect URL action (I'm using the Easy Form Wizard) to redirect to the form, which is successful, but the data does not transfer. I've event applied a Data to Session action in the 'On Submit' to the mini form and a 'Session to Data' to the On Load of the full form. Both forms 'name' fields are the same.
After testing, the debugger gives me the following message:
Not sure how to debug this.
After testing, the debugger gives me the following message:
Data Array:
Array
(
[chronoform] => freeevaluation
[event] => submit
[option] => com_content
[view] => article
[id] => 22
[Itemid] => 101
[name] => name
[email] => email@email.co
[input_submit_4] => NEXT STEP
[94c32bc9fa1789567ffdf2d35b41a332] => 1
)
Validation Errors:
Array
(
)
Debug Data
redirect_user
redirect_user_target_url: free-evaluation-form.html
Redirect URL (click to continue):
free-evaluation-form.html
Not sure how to debug this.
Both forms 'name' fields are the same.
forms names should never be the same, and for the session storage to work for 2 forms, the session key should be the same.
This is the small form:
I have a 'Data to Session' Under Check Captcha (which is disabled) > On Success > Data to Session
This is the form the data should pass to:
I have a 'Session to Data' Under On Load > Session To Data (is the first in the On Load box)
I'm not sure where I'm going wrong here and how I'm to make a 'session key the same'.
Thank you.
<div class="form-inline">
<h3>START YOUR <strong>FREE</strong> CASE EVALUATION</h3>
<div class="ccms_form_element cfdiv_text form-group" id="name1_container_div" style=""><label style="display: none">Your Name</label><input placeholder="Your Name" maxlength="150" size="30" class="form-control" title="" type="text" value="" name="name" />
<div class="clear"></div><div id="error-message-name"></div></div><div class="ccms_form_element cfdiv_text form-group" id="email1_container_div" style=""><label style="display: none">Email Address</label><input placeholder="Email Address" maxlength="150" size="30" class="form-control validate['email']" title="" type="text" value="" name="email" />
<div class="clear"></div><div id="error-message-email"></div></div><div class="ccms_form_element cfdiv_submit form-group" id="input_submit_41_container_div" style="text-align:right"><input name="input_submit_4" class="btn btn-primary btn-lg" value="NEXT STEP" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_4"></div></div><div class="ccms_form_element cfdiv_empty" id="empty_container_div" style=""><div class="clear"></div><div id="error-message-empty"></div></div>
</div>
I have a 'Data to Session' Under Check Captcha (which is disabled) > On Success > Data to Session
This is the form the data should pass to:
<div class="ccms_form_element cfdiv_header" id="id1_container_div" style=""><h3>START YOUR <strong>FREE</strong> CASE EVALUATION</h3><div class="clear"></div></div><div class="ccms_form_element cfdiv_text label_over" id="name1_container_div" style=""><label>Your Name:</label><input maxlength="150" size="30" class="form-control validate['required']" title="" type="text" value="" name="name" />
<div class="clear"></div><div id="error-message-name"></div></div><div class="ccms_form_element cfdiv_text label_over" id="phone1_container_div" style=""><label>Phone:</label><input maxlength="150" size="30" class="form-control validate['required','phone']" title="" type="text" value="" name="phone" />
<div class="clear"></div><div id="error-message-phone"></div></div><div class="ccms_form_element cfdiv_text label_over" id="email1_container_div" style=""><label>Email Address:</label><input maxlength="150" size="30" class="form-control validate['required','email']" title="" type="text" value="" name="email" />
<div class="clear"></div><div id="error-message-email"></div></div><div class="ccms_form_element cfdiv_textarea label_over" id="details1_container_div" style=""><label>Details About Your Case:</label><textarea cols="45" rows="12" class="form-control validate['required']" title="" name="details"></textarea>
<div class="clear"></div><div id="error-message-details"></div></div><div class="ccms_form_element cfdiv_text label_over" id="chrono_verification1_container_div" style=""><label>Enter Code:</label><input maxlength="5" size="5" class="chrono_captcha_input form-control" title="" type="text" value="" name="chrono_verification" />
{chronocaptcha_img}<div class="clear"></div><div id="error-message-chrono_verification"></div></div><div class="ccms_form_element cfdiv_submit" id="input_submit_41_container_div" style="text-align:right"><input name="input_submit_4" class="btn btn-primary btn-lg" value="SUBMIT" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_4"></div></div><div class="ccms_form_element cfdiv_empty" id="empty_container_div" style=""><div class="clear"></div><div id="error-message-empty"></div></div>
I have a 'Session to Data' Under On Load > Session To Data (is the first in the On Load box)
I'm not sure where I'm going wrong here and how I'm to make a 'session key the same'.
Thank you.
Hi toad,
If you want to use the ReDirect User action to transfer the User with data then you have to use a ReDirect URL action to add the data to the URL. As far as I can see there is no data in your URL.
Bob
If you want to use the ReDirect User action to transfer the User with data then you have to use a ReDirect URL action to add the data to the URL. As far as I can see there is no data in your URL.
Bob
Hi,
Also regarding your setup, if the check captcha is disabled then its events will not run, just add the "data to session" after it.
The session key name is under both session actions settings!
Regards,
Max
Also regarding your setup, if the check captcha is disabled then its events will not run, just add the "data to session" after it.
The session key name is under both session actions settings!
Regards,
Max
I have applied a ReDirect URL action above the Redirect User action in the Events > On Submit and data is still not being forwarded.
I removed the ReDirect User action and tried again. What happens this time is the URL changes to http://domainname/subfolder/dfl/?chronoform=freeevaluation&event=submit and the full form does not display.
I've also tried using in the Redirect URL both the SEF and nonSEF addresses, to no avail.
Here are screenshots:
[attachment=0]Mini-form.JPG[/attachment]
[attachment=1]Redirect URL Target.JPG[/attachment]
[attachment=2]Mini-form filled out.JPG[/attachment]
[attachment=3]End Result.JPG[/attachment]
I removed the ReDirect User action and tried again. What happens this time is the URL changes to http://domainname/subfolder/dfl/?chronoform=freeevaluation&event=submit and the full form does not display.
I've also tried using in the Redirect URL both the SEF and nonSEF addresses, to no avail.
Here are screenshots:
[attachment=0]Mini-form.JPG[/attachment]
[attachment=1]Redirect URL Target.JPG[/attachment]
[attachment=2]Mini-form filled out.JPG[/attachment]
[attachment=3]End Result.JPG[/attachment]
I've created a ReDirect User action in the mini-form and data still does not get transferred to the larger form.
I guess I don't understand then. I'm still not able to get my data to forward to the other form and I cannot seem to find a tutorial that covers what I would like to do.
Form 1:
[attachment=0]form1.JPG[/attachment]
Data to Session:
[attachment=1]dtos.JPG[/attachment]
Redirect URL:
[attachment=4]redirectURL.JPG[/attachment]
Form 2:
[attachment=2]form2.JPG[/attachment]
Session to Data:
[attachment=3]stod.JPG[/attachment]
Form 1:
[attachment=0]form1.JPG[/attachment]
Data to Session:
[attachment=1]dtos.JPG[/attachment]
Redirect URL:
[attachment=4]redirectURL.JPG[/attachment]
Form 2:
[attachment=2]form2.JPG[/attachment]
Session to Data:
[attachment=3]stod.JPG[/attachment]
Hi toad,
There were a lot of images in your post but they seem to have disappeared after I deleted a spam post :-( That may be a forum bug.
I think that the problem now is the one Max pointed out - you need to use a session key to in the Session to Data and Data to Session actions to transfer data between forms (it's not needed for different pages in the same form.)
Bob
There were a lot of images in your post but they seem to have disappeared after I deleted a spam post :-( That may be a forum bug.
I think that the problem now is the one Max pointed out - you need to use a session key to in the Session to Data and Data to Session actions to transfer data between forms (it's not needed for different pages in the same form.)
Bob
Just add a string to the "session key" field in the session actions in both forms, the same string, for example "myform"
Regards,
Max
Regards,
Max
Here is what was done and still no results:
Data to Sessions on first form:
[attachment=0]Data to Sessions.JPG[/attachment]
First Form filled with data:
[attachment=2]filledform.JPG[/attachment]
Sessions to Data on second form:
[attachment=1]Session to Data.JPG[/attachment]
Result with URL: domainname/folder/folder/?chronoform=freeevaluation&event=submit
[attachment=3]results.JPG[/attachment]
The form that should display with the data: domainname/folder/folder/index.php?option=com_chronoforms&chronoform=freeevaluationfullform
[attachment=4]Filledformb.JPG[/attachment]
Data to Sessions on first form:
[attachment=0]Data to Sessions.JPG[/attachment]
First Form filled with data:
[attachment=2]filledform.JPG[/attachment]
Sessions to Data on second form:
[attachment=1]Session to Data.JPG[/attachment]
Result with URL: domainname/folder/folder/?chronoform=freeevaluation&event=submit
[attachment=3]results.JPG[/attachment]
The form that should display with the data: domainname/folder/folder/index.php?option=com_chronoforms&chronoform=freeevaluationfullform
[attachment=4]Filledformb.JPG[/attachment]
I think I found the problem: it seems that every time I switch between Form Wizards, some actions are literally removed which I noticed the Redirect URL was missing in the first form. Very confusing.
Will there be in the future tutorials (video/web page) of how to make forms like this for newbies? It would really help because posting on forums is rather time consuming.
Will there be in the future tutorials (video/web page) of how to make forms like this for newbies? It would really help because posting on forums is rather time consuming.
This topic is locked and no more replies can be posted.