Forums

Multipage with review submited fields in Page2

wiseprt 09 Dec, 2014
Hello,

I created a multipage form with two Pages. In the first page the user fill in his/her Name, Phone and a date he/she wants. In the second page i want to display what the user selected in page1 as a confirmation page. How i can do this?

For the creation of multipage i followed steps form here http://www.chronoengine.com/faqs/2658-how-can-i-create-a-multi-page-form.

Thank you
GreyHead 09 Dec, 2014
Hi wiseprt,

Add a Custom Code element in the setup tab for the second page and include the variable names in {} e.g Hi
<p>{first_name},</p>
I think that will work OK.

Bob
wiseprt 10 Dec, 2014
Hi, Bob

Thank you. I'll try this now.
wiseprt 10 Dec, 2014
Hi again,

I tried but the result is something like:
Fullname: {text1}
Contact Phone: {text2}
Email: {text3}

The custom code i used is:
{text1}<br />
{text2}<br />
{text3}<br />

Am i doing something wrong?
I want instead of {text1} (which text1 is the Field Name of "Fullname") to display the given value that user fill in the field.
wiseprt 15 Dec, 2014
Hi again,
Any news? I still have issues.
GreyHead 15 Dec, 2014
Hi wiseprt,

Is the Multi Page action before the HTML (Render Form) action on the second page? If so, please add a Debugger action to that event and post the results here

Bob
wiseprt 15 Dec, 2014
Hi,

The issue was that the HTML action was first and the MultiPage was as a second. Now i can see the results.
I think the issue is solved (let me check it again to be sure).

Thank you.
wiseprt 15 Dec, 2014
Hello again Bob,

Another quetion i can not figure out.

I have 3 different payment fees depending on the date the user select. So for example if the user select from dropdown the "May 15th 2015" i want to display the button (in page2) for the payment of this month.

If the user select August 15th 2015 i want to display the button for the August payment etc. How i can do this?
I think something with the events hidden/show parrent hidden but i can not find the way.

Thank you al lot for your help.
wiseprt 15 Dec, 2014
Hello again,

I've done the following and my problem is that when i choose a date from dropdown, none of the fields are displaying.
I made the events as follow:

1) gone to dropdown with the date chosen and added one event != and another = for all the dropdown options i have.
Example:
i have one event as: on !=1 hide parent fin-custom1 where 1 is the 1st date and fin-custom1 is the custom filed with the payment of this date.

And another event as: on =1 show parent fin-custom1.

I want when the user choose the date1 to displaying in next page the custom field1.

Can you help me on this?
wiseprt 18 Dec, 2014
Hi,
Any news? I am stacked!face-meh-blank
GreyHead 19 Dec, 2014
Hi wiseprt,

We have seen some problems using 0 and 1 as option values. Exactly what options do you have in your drop-down? If they are all numeric you might try using date_1, date_2, date_3 instead and see if that works OK.

Bob
wiseprt 19 Dec, 2014
Hello,
Thank you for reply.

My values are not 0 and 1, i have cnanged them to something like May-18-15. Is this working ok as value or need to use only "_" instead of "-" ?
GreyHead 19 Dec, 2014
Hi wiseprt,

That should be OK, By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
GreyHead 22 Dec, 2014
Hi wiseprt,

The main problem is that setting events in Page 1 only affects elements on page 1 :-(

I would probably use a Custom Element in Page 2 with some PHP to check the value of the date and then set the value of submit button

Bob
wiseprt 22 Dec, 2014
Hello,

Ok do your magic and let me know please...

Thanks again Bob.

Kyriakos
This topic is locked and no more replies can be posted.