Thanks for the article. Actuall this deals with passing parameters from an HTML page to PHP and we are looking for the opposite. Passing parameters from a URL link TO an HTML form. Here is the code for the form we are trying to update and it is the hidden value of LEAD ID that we want passed to the form from the URL link.
How could this be accomplished?
Here is the HTML of our form:
[code=html]
<HTML>
<body>
<input type="hidden" value="xxxxx" name="Lead ID">
<input type="hidden" value="John Doe" name="Rep">
<div align="left">
<table border="0" cellpadding="0" cellspacing="1" width="98%" height="246">
<tr>
<td width="106%" align="center" height="30" colspan="2"><b> <font face="Arial" size="3">CALL
REPORT</font></b></td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial"><b >Contact:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Contact" size="32">
</td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#FF0000" ><b>Date Contacted:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Date_Cont acted" onfocus="showCa lendarControl(t his);" size="20" />
</td>
</tr>
<tr>
<td width="29%" align="right" height="81"><fo nt face="Arial"><b >Comments/
Interests:</b></font></td>
<td width="77%" height="81">&nb sp;<textarea rows="3" name="Comments" cols="69"></textarea></td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#0000FF" ><b>Next Action Date:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Next_Acti on_Date" onfocus="showCa lendarControl(t his);" size="20" />
</td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#0000FF" ><b>Next
Action Comment:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Next_Acti on_Step" size="61">
</td>
</tr>
</table>
</div>
<p style="margin-top: 15; margin-bottom: 10" align="center"> <input type="submit" value="Send"></p>
</form>
<p style="margin-top: 15; margin-bottom: 10" align="center"> </p>
</body>
</HTML>
[/code]
How could this be accomplished?
Here is the HTML of our form:
[code=html]
<HTML>
<body>
<input type="hidden" value="xxxxx" name="Lead ID">
<input type="hidden" value="John Doe" name="Rep">
<div align="left">
<table border="0" cellpadding="0" cellspacing="1" width="98%" height="246">
<tr>
<td width="106%" align="center" height="30" colspan="2"><b> <font face="Arial" size="3">CALL
REPORT</font></b></td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial"><b >Contact:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Contact" size="32">
</td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#FF0000" ><b>Date Contacted:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Date_Cont acted" onfocus="showCa lendarControl(t his);" size="20" />
</td>
</tr>
<tr>
<td width="29%" align="right" height="81"><fo nt face="Arial"><b >Comments/
Interests:</b></font></td>
<td width="77%" height="81">&nb sp;<textarea rows="3" name="Comments" cols="69"></textarea></td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#0000FF" ><b>Next Action Date:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Next_Acti on_Date" onfocus="showCa lendarControl(t his);" size="20" />
</td>
</tr>
<tr>
<td width="29%" align="right" height="25"><fo nt face="Arial" color="#0000FF" ><b>Next
Action Comment:</b></font></td>
<td width="77%" height="25">&nb sp;<input type="text" name="Next_Acti on_Step" size="61">
</td>
</tr>
</table>
</div>
<p style="margin-top: 15; margin-bottom: 10" align="center"> <input type="submit" value="Send"></p>
</form>
<p style="margin-top: 15; margin-bottom: 10" align="center"> </p>
</body>
</HTML>
[/code]
Comment