Developer Support »

Form fields apparently not pre-populating  (See more user questions)

Oops...my bad. I totally missed it was only error protected. Having reread
it I see it in different light now. Thanks.

-----Original Message-----
Sent: Sunday, October 17, 2010 1:37 PM
To: admin
Subject: Re: FormToEmail script

Aaaahh!

I see now. The form will only pre-populate in the event of an error and a
user has to return to it. Simply leaving the page and returning to it will
not pre-populate it. The form needs to be submitted to the script so that
the submitted values can be put into session. The script can't do that
unless the form is posted to it (it has no way of knowing what the values
were otherwise).

Enter a name on your form then submit it. You will get errors for your
required fields. Go back to the form and you will see the name is
pre-populated (in any browser).

As you said before, this is down to individual browser settings. In some
cases (Internet Explorer by default) it will refresh the page, hence losing
any entered values. This will not happen if the form has been posted to the

script then the user returns to the form as the values will then be in
session.

In a normal setup the user would only be expected to return to the form in
the event of errors, in which case the form will be pre-populated.

On my support page:

https://formtoemail.com/developersupport/pre_populate_form.php

...it states that the pre-population occurs in the event of an error.
That's why I wasn't with you at first. Looks like everything is ok on your
setup.

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Sunday, October 17, 2010 5:33 PM
Subject: RE: FormToEmail script


>I understand what it should be doing. It does not for me in IE8 (only).
>
> I enter something in a field, use the browser's back button to retreat,
> then
> advance back to the form and nothing is in the field.
>
> I don't know what else to say about it...not working for me in IE8.
>
>
> -----Original Message-----
> Sent: Sunday, October 17, 2010 11:21 AM
> To: admin
> Subject: Re: FormToEmail script
>
> Hi .
>
> I know what you stated initially which is why I checked it in IE8 and it
> worked. Are you saying it still doesn't work in IE8 for yourself?
>
> I can't see anything wrong.
>
> All PHP is doing is taking a submitted form value from session and
> printing
> it in the field value. The browser shouldn't make any difference unless
> the
>
> form page was littered with validation errors, which yours isn't,
> resulting
> in corrupt or no values getting posted to the script.
>
> Best wishes.
>
> Charles Sweeney
> https://formtoemail.com
> The world's easiest feedback script!
>
> ----- Original Message -----
> Sent: Sunday, October 17, 2010 1:23 PM
> Subject: RE: FormToEmail script
>
>
>> Yes, as I stated initially, the problem only exists in Internet Explorer
>> (I
>> tried only version 8)- all the others were fine.
>>
>> -----Original Message-----
>> Sent: Sunday, October 17, 2010 5:14 AM
>> To: admin
>> Subject: Re: FormToEmail script
>>
>> Hi .
>>
>> Quick look. All looks well. I tried the form in Opera and IE8, it
>> pre-populated correctly.
>>
>> No problems that I can see.
>>
>> Cheers.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Saturday, October 16, 2010 4:50 PM
>> Subject: RE: FormToEmail script
>>
>>
>>> Charles,
>>>
>>> URL is www.example.com/Scripts/pageOrderForm.php.
>>>
>>> File attached.
>>>
>>> Thanks,
>>> -----Original Message-----
>>> Sent: Saturday, October 16, 2010 9:15 AM
>>> To: admin
>>> Subject: Re: FormToEmail script
>>>
>>> Hi .
>>>
>>> There's no reason I can think of why it shouldn't display in all
>>> browsers.
>>>
>>> As far as the script is concerned, there's nothing you can do there if
>>> it
>>> works in some browsers, you must have the script coded correctly. That
>>> just
>>>
>>> leaves your form.
>>>
>>> If you give me the URL of your form page and attach the edited file for
>>> your
>>>
>>> form page, I will have a look at them for you.
>>>
>>> Best wishes.
>>>
>>> Charles Sweeney
>>> https://formtoemail.com
>>> The world's easiest feedback script!
>>>
>>> ----- Original Message -----
>>> Sent: Saturday, October 16, 2010 1:29 PM
>>> Subject: RE: FormToEmail script
>>>
>>>
>>>> No, I don't - it comes back clean and green.
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> Sent: Saturday, October 16, 2010 7:17 AM
>>>> Subject: Re: FormToEmail script
>>>>
>>>> Hi .
>>>>
>>>> Got any validation errors on the form page?
>>>>
>>>> Charles Sweeney
>>>> https://formtoemail.com
>>>> The world's easiest feedback script!
>>>>
>>>> ----- Original Message -----
>>>> Sent: Friday, October 15, 2010 4:30 PM
>>>> Subject: FormToEmail script
>>>>
>>>>>
>>>>> Comments: I am having problems getting pre-population to work with
>>>>> Firefox
>>>>
>>>>> 3.6 and IE8.
>>>>>
>>>>> It works with Safari, Chrome and Opera - I suspect those browsers
>>>>> support
>>>>> retention of input when using back button.
>>>>>
>>>>> Checking your support and FAQs I find no remedy. Have I missed
>>>>> something?
>>>>> Thanks.