You are here: Re: Re-draw a form with user's input. « PHP Programming Language « IT news, forums, messages
Re: Re-draw a form with user's input.

Posted by Jerry Stuckle on 10/02/18 11:20

Jay wrote:
>
>
> I don't want to add data to Database unless all data are valid.
>
That's standard.

>
>>- HTML form with PHP 'echo()' statements to put in data from above and
>>validation clues)
>
>
> I don't want to re-write the HTML code for the form. That's why I use
> include("form.html") in the processForm.php.
>

Then include the echo statements in the form itself. Just ensure the variables
are set to an empty string ('');


> I think you misunderstood my question. I try to access form's field
> within processForm.php page. For example,
>
> Using document.getElementByID('element') to set the values of the
> form's fields. May I do that ?
>

No you can't. PHP knows nothing about the HTML. Larry's response was correct
and accurate.

> Thanks again,
>
> Jay Hana
>


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация