Hello,
I`m trying to modify the functionality of machform to include another field to the ap_form table. I saw something similar to this in the forum.
So in the edit_form.php file I add this.
if(!empty($row)){
$form->id = $form_id;
$form->name = $row['form_name'];
$form->description = $row['form_description'];
$form->redirect = $row['form_redirect'];
$form->success_message = $row['form_success_message'];
$form->password = $row['form_password'];
$form->frame_height = $row['form_frame_height'];
$form->unique_ip = $row['form_unique_ip'];
$form->captcha = $row['form_captcha'];
$form->review = $row['form_review'];
$form->newfield = _session['newfield']
}
The new field doesn't have to be entered by the user. It should come from session data and be added to every new form so I can keep track of who's creating a form. I know the function required is in javascript and the javascript is obfuscated so i'm wondering if there's a function call that I would need to add newfield to the database table ap_forms.
Can you lead in the right direction. Thank you very much for your helpo.