Is there any way to pre-fill a text field I created with one that was previously filled in earlier in the form.
Ex:
If someone has already filled in their name earlier in the form and the name is asked again in the shipping address can it be pre filled with the option to change it?
Thanks in advance!
Chris
Ex:
If someone has already filled in their name earlier in the form and the name is asked again in the shipping address can it be pre filled with the option to change it?
Thanks in advance!
Chris
You sure can. Should be able to do that with straight java script.

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Any suggestions on how to actually do it? I'm not familiar with Java.
And where would I place the Java script?
Thanks
And where would I place the Java script?
Thanks
Here's an example.
http://ericrohloff.com/coffeecup/ccforu … r/prefill/
http://ericrohloff.com/coffeecup/ccforu … r/prefill/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
That is Exactly what I need thanks! Now do you mind giving me a behind the scenes peek?
Take another look at the form.

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
PERFECT! Thank you!!!
Is there a way to get the field from the URL...
such as
form.html?item3_text_1=Hello
such as
form.html?item3_text_1=Hello
Yes, 
http://www.coffeecup.com/forums/web-for … rl-string/

http://www.coffeecup.com/forums/web-for … rl-string/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Eric,
I'd like to ask for your help, also.
I am trying to accomplish, using your prefill script, the same thing, only twice.
For example:
<script>window.onload = function () {
var first = document.getElementById('field01'),
second = document.getElementById('field02');
first.onkeyup = function () { // or first.onchange
second.value = first.value;
};
};</script>
<script>window.onload = function () {
var first = document.getElementById('field03'),
second = document.getElementById('field04');
first.onkeyup = function () { // or first.onchange
second.value = first.value;
};
};</script>
The problem is that only field01 and field02 are working. Can you please help?
Thank you!
I'd like to ask for your help, also.
I am trying to accomplish, using your prefill script, the same thing, only twice.
For example:
<script>window.onload = function () {
var first = document.getElementById('field01'),
second = document.getElementById('field02');
first.onkeyup = function () { // or first.onchange
second.value = first.value;
};
};</script>
<script>window.onload = function () {
var first = document.getElementById('field03'),
second = document.getElementById('field04');
first.onkeyup = function () { // or first.onchange
second.value = first.value;
};
};</script>
The problem is that only field01 and field02 are working. Can you please help?
Thank you!
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.