Greetings,

I am not sure what to do next, I am working on NAM AG Version
3.2.2-76-217BD9EEA66DF413. Here is my Form:

<form id="login-form" action="https://path/admin.ls_login"
method="POST" name="loginForm" onsubmit="return loginSubmit(this)">
<input type="text" class="textUsername" name="ssousername"
size="25" maxlength="20" tabindex="1"></input>
<input type="password" class="textPassword" name="p_request"
size="25" maxlength="20" tabindex="2"></input>
<input type="image" src="/path/template/login-button.png"
class="login-button" name="login" value="" tabindex="3"
onclick="this.style.visibility = 'hidden'"></input>
<input type="hidden" name="site2pstoretoken" value="Shortened
because it was very long"></input>
<input type="hidden" name="password" value=""></input>
</form>

My form fill is setup so that if I do not have the Auto Submit checked,
the form is filled out and click "submit" on the webpage, everything is
good. But, should I check the Auto Submit button the submit fails. If
I turn on Debug, The "image" type is missing, and the Auto Submit fails.
Looking back at a form post, I pulled a bit a javascript to see about
adding back the "image" type, by adding the code to the "Statements to
Execute on Submit" and here it is:

var b = document.createElement('input');
b.setAttribute("type","image")
b.setAttribute("src","/path/template/login-button.png")
b.setAttribute("class","login-button")
b.setAttribute("name","login")
b.setAttribute("value","")
b.setAttribute("tabindex","3")
b.setAttribute("onclick","this.style.visibility = 'hidden'");
document.forms[0].appendChild(b);

Unfortunately, this does not work either. I am not really sure where to
go next. Any hints, or ideas would be greatly appreciated.

Thanks,

Bob


--
bstumpp
------------------------------------------------------------------------
bstumpp's Profile: https://forums.netiq.com/member.php?userid=2783
View this thread: https://forums.netiq.com/showthread.php?t=48848