Forums

How to load a php value into a text field

Tiw 28 Mar, 2012
Hi!

I'm wondering how I could load a php value, ex $number, into a text field in say an email form.

Thanks
GreyHead 28 Mar, 2012
Hi Tiw,

Use a Custom Code action in the ON Load event, before the Show HTML action and add this code:
<?php
$form->data['input_name'] = $number;
?>
and replace input_name with the name of the text input.

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