Donna
|
| Posted: 05/07/2002, 5:51 PM |
|
I've been struggling with some code in the form's BEFORE SHOW EVENT. Finally, it does everything right and I'm ready to proceed to the final step in my page. The goal: To place the code in the BEFORE SHOW EVENT of my form and send it to the form header. The code will combine html source code with a field variable, thus making it possible (hopefully) to include a variable in the html header. Question is, how do I send the event code to the header? I was thinking something like...
FORMHEADER = "my code string here";
Anyone know how to approach this?
|
|
|
 |
Alex Alexapolsky
|
| Posted: 05/08/2002, 2:43 AM |
|
This is weird . If you assign code to a string , it can not be executed.
If you use templates you can insert a template {variable} into header
and set it in event
If you don't use templates you can embed php (<? echo "something"; ?> )
right into header
|
|
|
 |
Donna
|
| Posted: 05/08/2002, 10:51 AM |
|
I was able to work it out once you informed me that variables could be passed to the header. I also had to make a few other changes.
Thanks Again!!!
|
|
|
 |
|