from V5 to V8

certi 13 Dec, 2023

Dear Support, I curently recreating my website from Joomla 3 to Joomla 5. And from ChronoFrom 5 to CrhonoFrom 8. This is my php original code from V5. 

david3482 16 Dec, 2023
Answer
1 Likes
It looks like $form->data changed to $this->data back in CFv6.

See https://www.chronoengine.com/forums/topics/view/103626/chronforms-v6-form-data

Instead of
$form->data['text6']

Try
$this->data['text6']
Max_admin 17 Dec, 2023
Please try the fix suggested by david3482
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
certi 18 Dec, 2023
Thank you very much David, it is working now :-)

I have a new issue... the form is perfectly working on the preview, but I am getting a "Your session has timed out or your tried to access a wrong page." On the front-page website.

It is happening only if I am using the form more than once.
Must be about the loops... it was easier on the version 5 of Chronoform! :-/

Thank you again of helping me, I would never find alone.

Sylvain
Max_admin 19 Dec, 2023
you display the same form "more than once" on the same page ? how do you do that ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
certi 20 Dec, 2023
Dear Max,

Maybe I am not explaining correctly but this is Chronoform 5 configuration : https://www.certibru.com/images/looping_with_Chronoform5.jpg

I can click as many times as I want on the button "calculate the price", and I will always get a result.

I absolutely need to do this with Chronoform v8.

This is my actual Chronoform v8 config panel: : https://www.certibru.com/images/looping.png

Could you please tell me what to do?
I have 1 days left to finish my migration from Joomla 3 to Jommla 5.

Thank you very much

Sylvain
certi 20 Dec, 2023
Please help :-)
certi 22 Dec, 2023
Dear Max,

Can we please hire you to make this form for us?

We are really in trouble.

Thank you very much

Sylvain
certi 22 Dec, 2023
This is the closest I am from making it loop.
https://certibru.com/test

The calculus itself (in a php) is working already.

This is the Admin side

from V5 to V8 image 1

from V5 to V8 image 2
Max_admin 27 Dec, 2023
if I understand this correctly, you need the "Calculate" button to calculate the cost of the and show it to the user, correct ?

for this you need javascript code to show the "live" calculation (before the page is submitted), then you need PHP code to do the same once the form is submit so that the total is processed for your admin work (if you need that)

it's better if you explain in steps how the form should work, because you have a redirect to the first page again in the 2nd page ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
certi 28 Dec, 2023
Thank you for your reply.
this is how it was setup in Chronoform 5: from V5 to V8 image 3

Yes, I need the calculate button to calculate the cost and then show it to the user.
I want the user to be able to make the calculation as many times as he wants.

The second page is just a way I found to try to make it.
But I don't need this second page.

I don't understand how the page can loop on itself.

Should I give you admin access?
certi 28 Dec, 2023
Could you please tell me what option I should use to remplace the "Event loop" I had in Chronoform 5?
certi 08 Jan, 2024
Dear Max,

Can we please hire you to make this form for us?

We are really in trouble.

Thank you very much

Sylvain
certi 17 Jan, 2024
Dear Max,

Can we please hire you to make this form for us?

We are really in trouble.

Thank you very much

Sylvain
Max_admin 18 Jan, 2024
I have replied to your email
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.