Forums

Auto Generated Field gets lost after Update

marcusx 02 Dec, 2008
Hello Guys!

I just tried to update chronoforms from the beta version to 3.0 stable. But now I have a big problem. My code in the Auto Generation field gets lost.

This is what I did:

1. Backup all my forms
2. Deinstall the component
3. Install the newest Version
4. Restore the forms

The forms are running - but only the form code. After I press submit nothing happens. I had a look at the auto generate field where I had some code which I executed after the submit (saving data etc.) but after the pressing Save (without changing anything) the data in the AutoGenrated Code Field is empty. If I put something new there it's not saved eather.

What went wrong?

I will now try to install the old version and hopefully will the form get online again. :-(

Can anyone help me?
regards
marcus
GreyHead 02 Dec, 2008
Hi marcusx,

Check the DB Connectivity tab and make sure that you have 'Save to Database' set to Yes.

Bob
Max_admin 02 Dec, 2008
Hi Marcus,

don't install the old version again, try what Bob said and also open the form and save it after the restore for everything to get saved again!

let us know!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dixittejas 18 Feb, 2009
Hi Max and Greyhead,

I am facing same problem...when i entered paypal redirect cpde & update it ..it cant update...not saving any othere script in autogenerated data.

Only original autogenerated data is remaining all time.

Thanks
Tejas
GreyHead 18 Feb, 2009
Hi Tejas,

From ChronoForms v3.0 on you can't edit the Autogenerated Code (or rather if you do then ChronoForms over-writes it).

You can still execute code in a similar way in the OnSubmit After code box. If you need it to execute after the AutoGenerated code (because you need the record id for example) then change the settings in the Run Order tab so that OnSubmit After rund after the Autogenerated Code.

Bob
dixittejas 18 Feb, 2009
Hi Bob,

Thanks for reply.

I have solved my problem by changing code in one file of your component.

Now, i can edit it & update it.:)

Thanks to all.

Now when i entered wrong captcha it redirect again that page with error(i am using url rewriting.) URL displayed without rewriting and page is weired..

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