Forums

Token not being passed in update profile form

anz 23 May, 2013
Hi, I've extensively searched the forum and followed several solutions for other people, but can't figure out why mine won't work.

Here's my events
On Load
Custom Code - getuser (10)
DB Record Loader (7)
Debugger (12)
Show html (0)

On Submit
Joomla User Create/Update (3)

My custom code has
<?php
$user=& JFactory::getUser();
$form->data['token'] = $user->id;
?>

My DB Record Loader has
DB field - cf_uid
Table - 137ot_chronoforms_data_registration
Request Param - token
WHERE statement - blank

And the error I get is

SELECT * FROM `l37ot_chronoforms_data_registration` AS `L37otChronoformsDataRegistration` WHERE `cf_uid` = '99'

Any help gratefully accepted. Thanks!
GreyHead 24 May, 2013
Hi anz,

If you look at the data in the table I think you'll find that you need to check cf_id and not cf_uid. 'cf_uid' is the long unique id entry.

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