Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [therelief] How do I add a form field?

Quote Reply
Re: [therelief] How do I add a form field? In reply to
In Reply To:
Okay, thanks! I guess I'll have to talk to Gossamer about that because people aren't putting in their full name because they see that the field is already filled in. That creates WAY too much for me having to email them and get their full name, etc.[/quote]

One way around this is for you to use javascript to take two fields (first name and last name) and submit them as one. You could then use the same script to make sure the field is required:

Code:

<script language="JavaScript">
function getFullName() {
document.form1.fullname.value = (document.form1.firstname.value + " " + document.form1.lastname.value);
}
function checkNames() {
if ((document.form1.first.value.length < 3) or (document.form1.first.value.length < 3)) {
window.alert("You must enter a first and last name!");
return true;
}
}
</script>


The getFullName function should be called to get the full name. The check names function requires that the user enter at least 3 chars of the first name and 3 chars of the last name. I don't have time to check this right now or call the functions... I can test it later, maybe someone here can fill the rest in:

In Reply To:

I'd like the orange nav bar to be the same width as all the rest. How do I fix that?[/quote]

What do you mean the same as the rest?

- Jonathan
Subject Author Views Date
Thread How do I add a form field? therelief 16247 Sep 24, 2006, 6:08 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15272 Sep 24, 2006, 8:04 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15351 Sep 24, 2006, 8:16 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15246 Sep 24, 2006, 8:32 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15232 Sep 24, 2006, 8:41 PM
Thread Re: [therelief] How do I add a form field?
therelief 15295 Sep 24, 2006, 8:44 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15341 Sep 24, 2006, 10:14 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15296 Sep 24, 2006, 10:56 PM
Thread Re: [therelief] How do I add a form field?
SandraR 15237 Sep 25, 2006, 5:05 AM
Thread Re: [SandraR] How do I add a form field?
therelief 15201 Sep 25, 2006, 7:49 AM
Thread Re: [therelief] How do I add a form field?
SandraR 15232 Sep 25, 2006, 7:58 AM
Thread Re: [SandraR] How do I add a form field?
therelief 15212 Sep 25, 2006, 8:11 AM
Post Re: [therelief] How do I add a form field?
therelief 15171 Sep 25, 2006, 8:20 AM
Thread Re: [therelief] How do I add a form field?
jdgamble 15275 Sep 25, 2006, 8:35 AM
Thread Re: [jdgamble] How do I add a form field?
therelief 15293 Sep 25, 2006, 8:41 AM
Post Re: [therelief] How do I add a form field?
jdgamble 15154 Sep 25, 2006, 9:15 AM
Thread Re: [therelief] How do I add a form field?
therelief 15261 Sep 25, 2006, 9:26 AM
Thread Re: [therelief] How do I add a form field?
jdgamble 15258 Sep 25, 2006, 12:02 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15425 Sep 25, 2006, 12:16 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15263 Sep 26, 2006, 12:08 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15355 Sep 26, 2006, 12:14 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15251 Sep 26, 2006, 2:05 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15251 Sep 26, 2006, 4:48 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 15196 Sep 26, 2006, 5:36 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 15233 Sep 26, 2006, 6:13 PM
Thread Re: [therelief] How do I add a form field?
therelief 19525 Sep 26, 2006, 6:58 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 19523 Sep 26, 2006, 7:38 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 19852 Sep 26, 2006, 7:49 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 19544 Sep 26, 2006, 8:57 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 19509 Sep 26, 2006, 9:05 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 19494 Sep 26, 2006, 10:27 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 19476 Sep 26, 2006, 11:05 PM
Thread Re: [therelief] How do I add a form field?
SandraR 19425 Sep 27, 2006, 4:38 AM
Thread Re: [SandraR] How do I add a form field?
therelief 19501 Sep 27, 2006, 8:52 AM
Thread Re: [therelief] How do I add a form field?
therelief 19491 Sep 27, 2006, 9:19 AM
Thread Re: [therelief] How do I add a form field?
SandraR 19481 Sep 27, 2006, 10:16 AM
Thread Re: [SandraR] How do I add a form field?
therelief 19425 Sep 27, 2006, 10:24 AM
Thread Re: [therelief] How do I add a form field?
SandraR 19484 Sep 27, 2006, 2:55 PM
Thread Re: [SandraR] How do I add a form field?
therelief 19407 Sep 27, 2006, 3:00 PM
Thread Re: [therelief] How do I add a form field?
therelief 19498 Sep 27, 2006, 3:03 PM
Post Re: [therelief] How do I add a form field?
therelief 19438 Sep 27, 2006, 3:06 PM
Thread Re: [SandraR] How do I add a form field?
SandraR 19395 Sep 27, 2006, 3:06 PM
Thread Re: [SandraR] How do I add a form field?
SandraR 19467 Sep 27, 2006, 3:09 PM
Thread Re: [SandraR] How do I add a form field?
therelief 19425 Sep 27, 2006, 3:28 PM
Thread Re: [therelief] How do I add a form field?
therelief 19413 Sep 27, 2006, 3:33 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 19434 Sep 27, 2006, 5:16 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 19391 Sep 27, 2006, 5:33 PM
Thread Re: [therelief] How do I add a form field?
jdgamble 19454 Sep 27, 2006, 5:44 PM
Thread Re: [jdgamble] How do I add a form field?
therelief 19613 Sep 27, 2006, 5:44 PM
Post Re: [therelief] How do I add a form field?
therelief 2321 Sep 27, 2006, 5:53 PM
Post Post deleted by therelief
therelief 19478 Sep 26, 2006, 7:00 PM