Hi all,
Benn stumped on this problem all day ... I have the following :
<input type=text name=name1 value=bob>
NOW 'bob' is read from a database ok.
problem is ... when i remove the word 'bob' form the textfield and hit submit to pass '' (nothing) it still passes 'bob'
I have been playing with JS and when I submit the following is called ...
if (document.form1.name1.value = ""
{
document.form1.name1.value = ""
}
i don't know what is going on, any help much appreciated.
matt
Benn stumped on this problem all day ... I have the following :
<input type=text name=name1 value=bob>
NOW 'bob' is read from a database ok.
problem is ... when i remove the word 'bob' form the textfield and hit submit to pass '' (nothing) it still passes 'bob'
I have been playing with JS and when I submit the following is called ...
if (document.form1.name1.value = ""
{
document.form1.name1.value = ""
}
i don't know what is going on, any help much appreciated.
matt