Jump to content

Popup issue!


cooldude

Recommended Posts

I have the following code

 

<table>

<form action="details.php?id='$id" onSubmit="win=window.open('','test','toolbar=0,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=560,height=600,left = 80,top = 40'); this.target='test';">

<tr><td>ID :</td><td><input type="text" id="id" name="id" value="" maxlength="20"></td></tr>

<td><input type="submit" name="submit" value="submit"></td>

</form>

</table>

 

 

I would like to validate the ID when submit button is clicked and display an error message on the screen if it is invalid. If it is valid then I want the details of ID to popup. Any help would be greatly appreciated!!

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/53999-popup-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.