HI, I had create a table with this fields:
id (primary key)
code
description
master code
kind (default = M)
date
this table is linked with 2 form.
the first form have this field:
code
description
date
onSubmit events I had set the table and everythings work fine.
In the second form I had this fields:
code
description
master code
date
I would like store data in db with kind = C but i don't like show any field on form.
How can I do?
Tanks
id (primary key)
code
description
master code
kind (default = M)
date
this table is linked with 2 form.
the first form have this field:
code
description
date
onSubmit events I had set the table and everythings work fine.
In the second form I had this fields:
code
description
master code
date
I would like store data in db with kind = C but i don't like show any field on form.
How can I do?
Tanks
Hi Kernel,
You can use a Hidden input element if you don't want the input to show in the form; or you can set the value after the form is submitted using a Custom Code action before the DB Save action with code like this in it:
Bob
You can use a Hidden input element if you don't want the input to show in the form; or you can set the value after the form is submitted using a Custom Code action before the DB Save action with code like this in it:
<?php
$form->data['kind'] = 'C';
?>
Bob
This topic is locked and no more replies can be posted.