I wrote a function that simulates this:
in your fwx script:
<htm>
<body>
<%IEMessagebox("Please enter a valid date")%>
And at the bottom of your script put this...
<%
FUNCTION IEMessagebox(cText)
IF EMPTY(cText)
RETURN
ENDIF
%>
<Script language= "javascript">
alert("<%=cText%>")
</script>
<%ENDFUNC%>
</body>
</html>
Sent by Larry Zhang on 03/31/2006 06:29:21 AM:
How to use messagebox in like we do in VFP?
I checked the ContactMine2 example. the prompt gets to the top of the screen. I wish to have a pop up warning and the cursor rests in the required field that the user fail to fill in. Thanks.