Hi guys;
I am trying to create a form where it is a multi page form and the first 3 pages are different vetting pages prior to going ahead with the actual form.
At each stage there are check boxes Yes/No, some pages have multiple checkboxes but essentially the rules are the same. if YES continue, if NO redirect to a "Thanks but no Thanks page".
The data from these will be included in the email sent to the site owner, to double validate the checks have been made (owners request!!!!)
I am using the wizard to do this and everything has gone swimmingly except the Yes/No options. I can not for the life of me figure a method out that would be suitable for this. Has anyone had any experience doing this before and found and easy solution i can adopt? Any help on this would be most useful.
Kind Regards;
dan
I am trying to create a form where it is a multi page form and the first 3 pages are different vetting pages prior to going ahead with the actual form.
At each stage there are check boxes Yes/No, some pages have multiple checkboxes but essentially the rules are the same. if YES continue, if NO redirect to a "Thanks but no Thanks page".
The data from these will be included in the email sent to the site owner, to double validate the checks have been made (owners request!!!!)
I am using the wizard to do this and everything has gone swimmingly except the Yes/No options. I can not for the life of me figure a method out that would be suitable for this. Has anyone had any experience doing this before and found and easy solution i can adopt? Any help on this would be most useful.
Kind Regards;
dan
Hi Dan,
I think that the Event Switcher will do this. If the answer is No then redirect to the Thanks page, otherwise continue as normal.
Bob
I think that the Event Switcher will do this. If the answer is No then redirect to the Thanks page, otherwise continue as normal.
Bob
Hi there Bob;
Many thanks for your response, IO am not sure how to do/implement this, and have thought of a way around, using a continue button that is hidden until the correct event makes it visible, e.g a yes being selected.
Just wondered if it was possible to create a different button that is visible during the "no" being selected that redirects to a joomla article or displays a message saying thanks instead. So that essentially there are two buttons that swap over depending on the selections??/
Thanks again,
Dan
Many thanks for your response, IO am not sure how to do/implement this, and have thought of a way around, using a continue button that is hidden until the correct event makes it visible, e.g a yes being selected.
Just wondered if it was possible to create a different button that is visible during the "no" being selected that redirects to a joomla article or displays a message saying thanks instead. So that essentially there are two buttons that swap over depending on the selections??/
Thanks again,
Dan
Hello mates. I'm having the same problem
First of all, thank you very much for this product, it is an incredibly good extension for joomla.
I´m trying to build a multi page form for uploading different files, I have to do it this way becuse my host has max_post_size=8MB and I'd like to allow the user to upload more files.
The thing is that I want to allow the user to finish the process as soon as he is done with choosing files. I.e. if the user wants to upload two files I want the form, with a radio button question to ask the user if wants to upload more files, if not, then skip up to the "final" submission event.
I have tried with other posts guidelines with a "Event Switcher" with this code:
where "Next File" is the title of the submit button on the previous page. I have placed the "Event Switcher" on the top of the event.
Regards
Thank you in advance.
First of all, thank you very much for this product, it is an incredibly good extension for joomla.
I´m trying to build a multi page form for uploading different files, I have to do it this way becuse my host has max_post_size=8MB and I'd like to allow the user to upload more files.
The thing is that I want to allow the user to finish the process as soon as he is done with choosing files. I.e. if the user wants to upload two files I want the form, with a radio button question to ask the user if wants to upload more files, if not, then skip up to the "final" submission event.
I have tried with other posts guidelines with a "Event Switcher" with this code:
<?php
if(!empty($form->data["Next File"])){
return "pag3";
}
where "Next File" is the title of the submit button on the previous page. I have placed the "Event Switcher" on the top of the event.
Regards
Thank you in advance.
Hi,
Whatever value returned by the code in the "Event switcher" must match the name of an event in the switcher, then this event will be executed, so you return "pag3", and so the "pag3" event inside the switcher will be processed.
You can insert whatever actions in that event, for example, you can insert an "Event loop" action to reload the upload file page or whatever.
Regards,
Max
Whatever value returned by the code in the "Event switcher" must match the name of an event in the switcher, then this event will be executed, so you return "pag3", and so the "pag3" event inside the switcher will be processed.
You can insert whatever actions in that event, for example, you can insert an "Event loop" action to reload the upload file page or whatever.
Regards,
Max
Thank you, finally I got to do it.
However I'm experiencing problems with the names in different pages, even though I have placed multiple "handle arrays", I have tried everywhere. From one page to another I get to collect all the data, but the files name, I can only get the last file name (note that every file in the multi page form has different IDs)
I've seen that one method is to store the files attributes in DB however I wouldn't like to make these transactions, I will if there is no other option with "handle arrays". Any suggestion?
Regards and thank you for your fast and effective support😀
However I'm experiencing problems with the names in different pages, even though I have placed multiple "handle arrays", I have tried everywhere. From one page to another I get to collect all the data, but the files name, I can only get the last file name (note that every file in the multi page form has different IDs)
I've seen that one method is to store the files attributes in DB however I wouldn't like to make these transactions, I will if there is no other option with "handle arrays". Any suggestion?
Regards and thank you for your fast and effective support😀
Just if it were useful for other users, I'd like to attach the image but I don't know how to showing the transition pag2 -> pag3
On Pag2
Multi Page
Handle Arrays
Files Upload
Event Swithcher
On Fin (one of the events set by me)
Event Loop --> Final Submission
On Siguiente
Html (Render Form) --> Loading next page
Used code in the Event Swith
<?php
if($form->data['seleccion1'] == 1){
return "siguiente";
}else{
return "fin";
}
?>
So, this is now solved ?
Regards,
Max
Regards,
Max
The multi page main problem yes, the problem with filename arrays still exists😟
Any ideas? Thank you Max!
Any ideas? Thank you Max!
Sorry, what's the file name arrays issue ?
Regards,
Max
Regards,
Max
In each page of the multi page form, I attach a file,
In the first page I attach 1 file --> I obtain the following Debug Data
In the second page I attach another file
However, the [fichero1] collected in the first transition is no longer available, I can only collect the last filename
Thank you
In the first page I attach 1 file --> I obtain the following Debug Data
Array
(
[chronoform] => multi
[event] => pag2
[option] => com_chronoforms5
[view] => form
[nombre] => test
[telefono] => 11111
[email] => test@test.com
[comentarios_fichero1] => PAge in which I attach the first file
[seleccion1] => 1
[siguientePag] => Siguiente Archivo
[Itemid] => 559
[fichero1] => 20150204161833_1.jpg
)
In the second page I attach another file
Array
(
[chronoform] => multi
[event] => pag2
[option] => com_chronoforms5
[view] => form
[comentarios_fichero2] => Page in which I attach the second file
[seleccion2] => 1
[siguientePag] => Siguiente Archivo
[Itemid] => 559
[nombre] => test
[telefono] => 11111
[email] => test@test.com
[comentarios_fichero1] => PAge in which I attach the first file
[seleccion1] => 1
[fichero2] => 20150204161939_2.jpg
)
However, the [fichero1] collected in the first transition is no longer available, I can only collect the last filename
Thank you
You have a "Multi page" action at the top of each event in your form ?
Sure.
Sorry to attach this image to my web site, buy it is not for marketing purposes, it is just to show one page example (2nd page). The following are exact copies
http://design-it.es/images/Imagen1.jpg
Thank you
Sorry to attach this image to my web site, buy it is not for marketing purposes, it is just to show one page example (2nd page). The following are exact copies
http://design-it.es/images/Imagen1.jpg
Thank you
Please try to move the "Files upload" above the "Multi page", since the field name is only added after this action runs, I think this may fix the issue.
Oh my... it worked!!
I think that was the only thing that I hadn't tried before... thank you very much Max.
You are doing a great job! I think that this is the best support I've ever experienced.
Thank you so much. Regards
I think that was the only thing that I hadn't tried before... thank you very much Max.
You are doing a great job! I think that this is the best support I've ever experienced.
Thank you so much. Regards
This topic is locked and no more replies can be posted.