This topic is locked

Move AddOnLoad & EditOnLoad inside form

9/22/2006 4:30:00 AM
PHPRunner General questions
J
jcottrell author

Wouldn't it be better if AddOnLoad & CopyOnLoad were moved down a few lines in add.php, so that they were inside the form? Then, you could use these events to add additional form fields, e.g. for additional tables. Is there a down-side to this? If so, maybe create a new event that is inside the form?
Likewise EditOnLoad in edit.php

J
Jane 9/22/2006

thank you for pointing me to this issue.

We'll fix it in the next PHPRunner update.
To make your pages working you need to edit your page in the HTML Editor:

find and cut following line:

<FORM name=editform action=categories_edit.php method=post

encType=multipart/form-data {$onsubmit}>



and paste it after this line:

<BODY bgColor=white {$bodyonload}>