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
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
I only want to save my changes ! (in the "autogenerated code" tab).
Saving overwrites them... how can i do ? thanks
Saving overwrites them... how can i do ? thanks
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
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
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 ?
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 ?
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
and that should do it OK. Let me know if it doesn't.
Bob
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.