PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

JavaScript in Signin.html page not working in Safari & Androd browsers

edited Jun 3, 2013 4:25AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 5 commentsAnswered
Hi all
We have customized signin.html as the following using a JavaScript.

1.  Added a checkbox which says 'I have read and accept Terms and Conditions'
2.  If the user does not check that box, then he cannot login. I am implementing this functionality using java script. 

This is not working in Safari/Android Browsers.. In Safari/Browser, user can login without checking the box...

Any ideas are appreciated.

function submitAction(form)
{  
if (document.getElementById("chk_terms").checked )
    {
signin(form);
form.Submit.disabled=true;
form.submit();
 }
else
 {
    form.userid.value = "";
    form.pwd.value = "";   
    alert("<%=255%>");
    return false;
 }
}


thanks
Rahul

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center