This topic is locked

Create a field in Add Page

7/21/2010 5:03:30 AM
PHPRunner General questions
S
Seraph author

Hi!

How I can to create a "input text" field that is not belong at table in a Add Page?

I want use this value in "Add Page: Before record added" event.

I can build the html of the field but i don't know how I can do for see on the event.
Thank you very much

A
ann 7/21/2010

Hi,
proceed to the Visual Editor tab, switch to the HTML mode and insert the following code to create text field:

<input type=text value="" name=custominput id=custominput>



Then call the value in the following way in the Events:

$value = postvalue("custominput");
S
Seraph author 7/21/2010



Hi,
proceed to the Visual Editor tab, switch to the HTML mode and insert the following code to create text field:

<input type=text value="" name=custominput id=custominput>



Then call the value in the following way in the Events:

$value = postvalue("custominput");



Perfect! work fine!
Thank you very much