CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Passing vars in HTML header

Print topic Send  topic

Author Message
JCF
Posted: 03/13/2002, 3:41 PM

Hi All

I have the following code in the Header section (HTML) for a Record page:

<table border="0" summary="">
<tr>
<td>
<form action="approve_wo_send_mail.php?fldCONTACT="
method="post">
<input type="submit" value="Approve Work Order">
</form>
</td>
<td>
<form action="reject_wo_send_mail.php?fldID=<?php
$fldCONTACT ?>" method="post">
<input type="submit" value="Reject Work Order">
</form>
</td>
<td>
<form action="complete_wo_send_mail.php?fldID=<?php
$fldCONTACT ?>" method="post">
<input type="submit" value="Complete Work Order">
</form>
</td>
</tr>
</table>

It works great it displays 3 button, which I can press and it runs the
correct PHP file but of course the <?php $fldCONTACT ?> does not work.

How can I pass information from the Record Form to these buttons?

I have tried using get_session but this does not work either?

Is there another place I can put this could so that the PHP scripting works
on it to replace the Vars?

I am using PHP 4 and MySQL

Thanks

JCF

Alexey Alexapolsky
Posted: 03/14/2002, 2:43 AM

You can simply add CONTACT variable to Record form and set it if needed in
Before Show event.
and it will automatically be transfered to action url.

--
Alex
CodeCharge Developer


"JCF" <jcf@mail.org> wrote in message
news:a6oo2c$9r7$1@news.codecharge.com...
> Hi All
>
> I have the following code in the Header section (HTML) for a Record page:
>
> <table border="0" summary="">
> <tr>
> <td>
> <form action="approve_wo_send_mail.php?fldCONTACT="
> method="post">
> <input type="submit" value="Approve Work Order">
> </form>
> </td>
> <td>
> <form action="reject_wo_send_mail.php?fldID=<?php
> $fldCONTACT ?>" method="post">
> <input type="submit" value="Reject Work Order">
> </form>
> </td>
> <td>
> <form action="complete_wo_send_mail.php?fldID=<?php
> $fldCONTACT ?>" method="post">
> <input type="submit" value="Complete Work Order">
> </form>
> </td>
> </tr>
> </table>
>
> It works great it displays 3 button, which I can press and it runs the
> correct PHP file but of course the <?php $fldCONTACT ?> does not work.
>
> How can I pass information from the Record Form to these buttons?
>
> I have tried using get_session but this does not work either?
>
> Is there another place I can put this could so that the PHP scripting
works
> on it to replace the Vars?
>
> I am using PHP 4 and MySQL
>
> Thanks
>
> JCF
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.