Hi,
Is it possible to use the row-numbers from an Excel-sheet?
I'd like to have a unique id (like auto_increment in SQL), so why not use the row-numbers? I need those numbers for an export...
Is that possible? (Otherwise I need to add another column with the numbers 1 to ...., but when you...
Easy way:
Ok.... I'll disable the ENTER-key (or ENTER = next formfield (like TAB)).
Tough way:
Here's the code (the function have other names than I mentioned in de posts!!)
<html>
<head>
<title>Bestellen per lijst</title>
<meta http-equiv="Content-Type" content="text/html...
yes... it validates the field, but the user can decide to ignore the alertmessage. He can easily click in the next textfield without changing the negative value.
So I need to run this checkNeg() again when submitting...
Don't eat yellow snow!
Just making sure no negative values are submitted...
Everyime a formfield gets a value, the onChange activates the checkNeg()-function. But after the alert-message ('Don't use negative values!'), the user can ignore this message and skip to the next field using his mousepointer.
So I need to...
Hi,
I have some formfields with an onChange="checkNeg()"
The form itself has an onSubmit="return(Verify())"
This function looks like this:
function Verify(){
if (!checkNeg() || !checkValues())
{
return(false);
}
return (true);
}
But what happens when I hit 'ENTER' in a...
OK... thanks, I found this in a somewhat older script (but partly usefull to me and no original author).
But I think I can savely remove this statement,I already altered most of the script (no special javascript-functions...) to the script I wanted.
Don't eat yellow snow!
Hi,
I'm curious to know what this if-statement means (javascript):
if ("".replace)
{
}
I can't think of anything....
Bet it's something simple, but I can't figure it out!
T.I.A.
Quasibobo
Don't eat yellow snow!
Hi there,
I've got this code:
<script language="JavaScript">
<!--
function CheckBanknr(val) {
if ("".replace)
{
waarde = val.value;
var rekNr = String(waarde).toUpperCase().replace(/[\s\t-\.]/g,""); // Delete white space, hyphens en periods
if (rekNr.match(/[^P^0-9]/g))
{
// If...
Thanks.... a great idea! It works perfectly!
I sould remember this way of solving such a problem: just create another function....
Don't eat yellow snow!
Hi,
I've got these form fields that i need to check wiether the value of this field is less than zero. If so, give an alert message and select this field.
<form name="invoeren">
<input type ="bestellen_1_1" onChange="Optellen(1,4)">
<input type ="bestellen_1_2" onChange="Optellen(1,4)">...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.