The Little Guy Posted August 17, 2008 Share Posted August 17, 2008 I have this if statement, and it isn't working, can you please help? What it needs to do is this: - remainCups needs to be a number that is 1 or larger AND - rdo2 OR rdo1 must be checked remainCups = document.getElementById('remainCups').value; if(isNaN(remainCups) || (!document.getElementById('rdo2').checked || !document.getElementById('rdo1').checked)){ Link to comment https://forums.phpfreaks.com/topic/120022-solved-if-statement/ Share on other sites More sharing options...
The Little Guy Posted August 17, 2008 Author Share Posted August 17, 2008 I think I got it! Link to comment https://forums.phpfreaks.com/topic/120022-solved-if-statement/#findComment-618301 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.