Forums

Is there a sample multi page form for CForms v4 to download!

chrono2 01 Dec, 2011
Dear Greyhead, Max and other members of the Chronoforms staff/members,

I am using Chronoforms for almost every form I need to make. And it is an amazing piece of techniques combined in a slick interface. And it is working all the time great at least I haven't found any problems.

But the flip side of the coin is the documentation. I know that this is a lot of work but it is almost just as essential as the component,plugins,modules itself because documentations allow people without skills to do a great job. With great documentations there will be a lot less people jurking around for hours and a lot less questions on the form which enables you guys to spend more time developing the sourcecode and documentations.

As I always say develop once a great documentations and you can refer almost everyone to that to find out for themselves. I am sure that a lot of users are now looking for hours on the forum to create curtains items. Even I did and still there is not one decent post on the subject!!!

This strikes me as being strange.

I am willing to create a tutorial/documentation on the subject when I could figure out how to do it. Because that is my normal way of working when something is complicated I make a step by step for future reference. (TIP for others) And I am offcourse willing to share this with everyone who wants to have it.

Now my question: When the documentation is too much time consuming then don't bother I will do it just send me an example of a 2 to 3 multipage form for Chronoforms V4 where on the last page a user can fill in his/her email address. Then I will start looking how everything is setup and I will reproduce it during the reproducing I create the screenshots and the documentation. Which when it is finished I will send back to you guys for publishing on your site. (Bye the way part of my profession is to create user manuals for software from all kinds of companies so you get a guaranteed good piece of documentation/tutorial)

I hope that you guys think that this is a fair trade. If you do not want the documentation then that is also fine with me but I seriously need to have an example and I believe that there are at least a hundred more people who will benefit from such a file available to download.

At least thank you for the great component it is marvelous and thank you for reading through this bunch of text.😀

With regards,

Chrono2
GreyHead 02 Dec, 2011
Hi chrono2,

I agree with you about documentation :-( Unfortunately I already spend far too much of my time answering posts here, removing vast quantitied of spam and making the occasional video or tuturial document. As you've probably seen I wrote a book on ChronoForms v3 only to have much of it made redundant when Max changed the admin interface six months later. That's OK, it wasn't unexpected - but it makes me very reluctant to start over again.

I haven't created a real-life multi-page form in CFv4 and I don't have a test form on my site either. But basically they are very simple - simpler than in CFv3.

Create Form 1. Add a Data to Session action in the On Submit event and give it a Session Key.

Create Form 2. Add a Session to Data action in the On Submit* event using the same Session Key.

Repeat as required.

* You can also use add a Session to Data action in the On Load event if you want to use the previous data in the display of the next form. It needs a little careful housekeeping to make sure that the correct values are carried forward if any are changed.

Each form is independent and you can send Emails, save data, etc at any step in the process.

The one think that is not well catered for isa multi-page form with a choice of steps i.e. if the user replies XXX got to this form, if they reply YYY go to this form. But you can manage this with Custom Code and Redirection.

Bob
chrono2 02 Dec, 2011
[attachment=0]CFV4_FormsBackup_ON_NOTWORKINGMULTIPAGE_02_Dec_2011_11-43-43.zip[/attachment]

I have done what you say and i receive in my email the following


Hidden #0 {programma}
email [email]chrono2@freeqmail.com[/email]
name chrono2


instead of programma I should see the choice I made on form 1

on form 1 i ask which program and on form 2 i ask email and name
so it is a step closer to the end but still not good enough.
GreyHead 02 Dec, 2011
Hi chrono2,

A little fix was needed. Because programma is a checkbox group it returns an array of values and, while this was carrying forward, the array was not being handled correctly. I added a Handle Arrays action to the first form to convert the array to a string and that is being passed thrugh to the final email OK.

Bob

PS I also switched the Show Form action from Load form to Redirect - I'm really not sure what the difference is but it seemed safer to redirect to amek sure that all the actions are handled correctly.
chrono2 02 Dec, 2011
Yes it is working now!
Great thank you very much. I hope it wasnt too much work...

one more questions is it possible to not show the array on the second form and can i delete the debug
GreyHead 02 Dec, 2011
Hi chrono2,

Yes you can delete the debug. It's only useful for development.

You don't need to show the array on the second form unless you want to.

Bob
chrono2 02 Dec, 2011
I dont know if this is allowed on this form but i just want to say a thousand times thank you. you are absolutely the man.

i am glad i deleted first on the second form both debugs and then checked if it was still working and then i saw that the form was perfect. because i also thought that i needed to delete the array on the first form but if i did that then the forms wouldnt be working any more.

thanks for all the help and i am sorry for busting your balls this day and yesterday. have a great evening(whats left of it) and have a great night.

cheers and when i can afford i buy you a keg.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger