Hello! I want to populate a field of the table, when another field of the some table as a value != from zero.
I have done a designer-event with "set dynamic value" that call an setup-event with a custom code.
In setup-event I read the table with id and ok field with this option: <?php return array('id' => $form->data['id']); ?> then I have done a custom code ON FOUND with <?php $form->data["ok"] = 'OK'; ?>
but don't work. Some help?๐
thank you
I have done a designer-event with "set dynamic value" that call an setup-event with a custom code.
In setup-event I read the table with id and ok field with this option: <?php return array('id' => $form->data['id']); ?> then I have done a custom code ON FOUND with <?php $form->data["ok"] = 'OK'; ?>
but don't work. Some help?๐
thank you
Hi cyber81,
I'm finding it hard to understand what you are trying to do here - please explain in a little more detail
When exactly is this code running - is it after the form submits? Or is it when the user changes something in the browser?
Bob
I'm finding it hard to understand what you are trying to do here - please explain in a little more detail
When exactly is this code running - is it after the form submits? Or is it when the user changes something in the browser?
Bob
Hello! The code is running first the form submit, simply when an user insert a value in field.
When this field "x" is populated I would insert ad automatic OK in a field "y".
When this field "x" is populated I would insert ad automatic OK in a field "y".
Hi cyber81,
Sorry, I'm still confused - maybe the meaning is getting lost in translation :-(
Is this value set *after* the form is submitted?
Bob
Sorry, I'm still confused - maybe the meaning is getting lost in translation :-(
Is this value set *after* the form is submitted?
Bob
This topic is locked and no more replies can be posted.
