Hello,
I'm sorry if my question is stupid but I didn't find a solution.
I have a form with only an email field and a submit button. I would like to pass the email value to another page with the complete V6 form (name, lastname, email, etc.) of course with the email field pre-compiled.
I tried with Redirect function but I don't know how to pass the value.
Can you help me, please?
Thank you
Hi marcozeus,
Sorry, I don't understand what you need to do here? Would a two-page form work OK?
Bob
Sorry Bob,
I try to be more clear.
In a Joomla site I have in home page a simple chronoforms module with only one field (email) and a submit button.
What I would like to have : when you enter your email and click submit you'll be redirect to contact page with a complete chronoforms (name, lastname, etc.) but the field 'email' is already filled with the email insert in home page.
I'm using V6.
Hi marcozeus,
Two ways to do that - though I don't know exactly how to do it in CFv6 . . .
a. You can save the email data to a session, redirect then re-load the data, or
b. You can add the email to URL and redirect to that.
I think that a. is probably simpler as it avoids any possible problems with having an email address in a URL.
Bob
Hi,
You can use a "redirect" action in the small form "submit" event, set the redirect url to the link of the big form, and set the redirect parameters as following:
big_form_email_field_name={data:small_form_email_field_name}
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Great !
Thank you very much Max and Bob
:-)