Forums

how to disable wizard ?

manalo 20 Apr, 2009
hi,
everytime i 'm trying de change the code in the "autogenerated code" tab, wizard overwrittes my changes ! how can i do to disable it?
thanks
GreyHead 20 Apr, 2009
Hi manolo,

You can't . . . what do you need to do?

Bob
manalo 20 Apr, 2009
I only want to save my changes ! (in the "autogenerated code" tab).
Saving overwrites them... how can i do ? thanks
GreyHead 20 Apr, 2009
Hi manolo,

You can't . . . (without making big hacks in the code) . . . what do you need to do?

I don't know of anything that you can't do with the Autogenerated code as it is.

Bob
manalo 20 Apr, 2009
ok,
i have a table with many records and i added the chronoform records.
But my table has it own "cf_user-id" which is "idcontact".
So i want to replace and store it in idcontact at the end "after email".
Where can i do that ?
GreyHead 21 Apr, 2009
Hi manalo,

If there is no cf_user_id field in the table ChronoForms will just ignore that data. To save the user_id in in idcontact add this code in the OnSubmit before box
<?php
$user =& JFactory::getUser();
JRequest::setVar('idcontact', $user->id, 'post');
?>

and that should do it OK. Let me know if it doesn't.

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