ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

db table id set to 0 after db save

t3living 07 Oct, 2016
i have a sequence of code steps

before HTML Render
custom code:
<?php
$form->data['reg_id'] = JRequest::getInt('reg_id','','get');
?>

then HTML Render

On Submit
db save with update conditions
<?php 
return array("reg_id"=>$form->data['reg_id']);
?>

redirect with params
chronoform="MORA-Menu"
reg_id=reg_id

but the value of $form->data['reg_id'] =0 after the db save. why?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com