I have some v3 forms with custom code including multipage and multilanguage settings for plugins. How to import or make as new quickly these forms to v4?
I installed v4 to testing and it seems to be very different and I don´t find plugins...
Thanks in advance.
Thanks, Bob.
I will try to make the new forms with copy/paste code and other new features. I will be not easy with many forms...
Only a question more. I will need to change/adapte my custom code?
My special interest is about params and values passing from one to next pages and multilanguage key words.
Hi camerata,
Some of your custom code will need to be changed to work with CFv4 or Joomla! 2.5. The biggest change is that ChronoForms now uses it's own array $form->data to store the form data so you have to check any code that uses the JRequest methods to make sure that it is still referring to the correct value.
In Joomla! the User Group and permissions code has changed so again anything that uses this need to be carefully checked.
I think that the language marks and translation strings should copy and paste over to the multi-language actions in the new version OK.
Bob
A question about actions.
Do I need to create the new forms via Wizard or as "New" at form manager?
I need to have access to the actions for the multilanguage features but I can't since I created the form as "New" (no wizard) and the html code from old v3 form,
Hi camerata,
You can still open the Wizard link to add actions to your forms even though they were created with the 'New' icon. You won't be able to add new Elements in the Preview box though.
It's hard to give a general example about the use of $form->data. My best advice it to keep an eye open for any instances of JRequest::setVar('xx') = 'yy'; and replace those with $form->data['xx'] = 'yy';
Bob
You're riight, Bob.
Now the form works fine. Thank you!
I will try to update all forms.