Problem logging into web site

Andrew Barr barr.156 at osu.edu
Thu Aug 19 03:23:41 BST 2004


A few months ago I posted to this mailing list asking for help with
Konqueror and my banking web site. Here recently I delved into the issue
a little more and discovered how to fix it by modifying the login web
page's HTML. If I change:

<input type="button" value="  Login  " name="enter"
onclick="inputCheck()" style="font:normal normal bold 10pt Arial;">

To: 

<input type="submit" value="  Login  " name="enter"
onclick="inputCheck()" style="font:normal normal bold 10pt Arial;">

I can log in. The javascript function inputCheck that is called on
clicking the button is here:

function inputCheck() {
	if(SubmitCount==0){
		var clicktime = new Date();
		with (clicktime){
			clicktime = getTime();
		}
		if(document.details.USER.value.length < 8){
			alert("You must enter a valid Username");
			SubmitCount=0;
			document.details.USER.focus();
			return false;
		}else if(strValidate(document.details.USER.value) == 1)	{
			alert("You must enter a valid Username");
			SubmitCount=0;
			document.details.USER.focus();
			return false;
		}else if(document.details.PIN.value.length < 8){
			alert("You have entered an invalid Password");
			SubmitCount=0;
			document.details.PIN.focus();
			return false;
		}else if((document.details.USER.value.length >
7)&&(document.details.PIN.value.length < 17))	{
			document.details.submittime.value = clicktime;
			SubmitCount=1;
			document.details.submit();
		}
	}
}

As you can see it's just validating the input. The last line, which is
supposed to submit the form, doesn't seem to make Konqueror react. After
clicking Login, the browser sits there. The bug icon doesn't appear at
any time, unless the User Agent is set to IE (which I suppose should be
expected). For the record, This page does work without modification in
Mozilla. I don't know if this is a bug or not, if it should be filed
with bugs.kde.org let me know.

Thanks,
Andrew Barr
barr.156 at osu.edu

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list