Hi
Say I have a form with 2 text boxes (see below).
I will have some Jscript to stop text being put into both boxes (not shown in the example, but simple to do).
How can I change the PostBackURL if txt1 has text in it, or if txt2 has text in it.
So:
If txt1 has text the PostBackURL would be form2.aspx
If txt2 has text the PostBackURL would be form3.aspx
Is this possible ?
Thanks
J
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>1stForm_Test</title> ...
Go to the complete details ...