Can't seem to get this to work:
On submission I want check if a textarea has had content added. If it has users must also have checked a 'read more' checkbox.
The workings of the function as I have them at the moment are:
var moreNews
moreNews=Form1.News.value
if (moreNews!=""&& Form1.readmore.checked==false)
{
alert("Please check 'read more link'"
;
return ;
}
Many thansk for any help
"Away from the actual ... everything is virtual"
On submission I want check if a textarea has had content added. If it has users must also have checked a 'read more' checkbox.
The workings of the function as I have them at the moment are:
var moreNews
moreNews=Form1.News.value
if (moreNews!=""&& Form1.readmore.checked==false)
{
alert("Please check 'read more link'"
return ;
}
Many thansk for any help
"Away from the actual ... everything is virtual"