Jump to content

PHP Forms Help


jrapin

Recommended Posts

Have a minor technical question about a travel form created with PHP.
All the fields are specified but some of my text field are "yellow" while other have remained "white".
I prefer the "yellow" color for the form and can't seem to discover or understand why the white fields are not changing to yellow. (In particular, the "fax" is really identical to the "city" yet displays diffrently).

Please Check out my attached document and notify me as to the real reason why all the fields in my PHP form are not "yellow" in color.

Sincerely,

Jrapin


[attachment deleted by admin]
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/
Share on other sites

Thank you, but could you please be a bit more specific as to the exact code?
This is what I have:

<?php error_flag($error, "fax_number"); ?>
</div>
<div align="center" class="textGreenBold">*Fax Number:</div>
<div align="right">
<input type="text" name="fax" value="<?php print $_POST['fax_number'] ?>" />
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/#findComment-137507
Share on other sites

[quote author=jrapin link=topic=117848.msg481131#msg481131 date=1165589831]
Thank you, but could you please be a bit more specific as to the exact code?
This is what I have:

<?php error_flag($error, "fax_number"); ?>
</div>
<div align="center" class="textGreenBold">*Fax Number:</div>
<div align="right">
<input type="text" name="fax" value="<?php print $_POST['fax_number'] ?>" />
[/quote]
If you want to use the error flag function, i cant help you, sorry, i only know basics of php. :P
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/#findComment-137510
Share on other sites

Thank you sir, I 'm still wondering why I should use the <bgcolor="yellow"> function.
Beacuse this code is foriegn to the document (It has not been used anywhere else).

I'm working on the phpform in Dreamweaver and I thought perhaps there was some latent (invisable)
code somewhere. However, I really want to make the fields a uniform color (white or yellow will work),
but I prefer yellow. How do I change the way these fields are displayed on this form?
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/#findComment-137512
Share on other sites

Ray,

Forgot to mention that if I insert the opening and closing HTML tags, the php form does'nt work.
After removing the CSS linked, I noticed that I still had the same color problem (with the form fields).
I have attached my version of the file in question for viewing/modifying.

If you could modify the file and re-attach it, I'd be very happy.

[attachment deleted by admin]
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/#findComment-139693
Share on other sites

Ray,

I am assuming you are previewing the files through localhost in Microsoft Internet Explorer.
I am also.

I haveincluded the css page and the version of the php file including the style sheet.
Please check and see if you can add new fields into theform and have them display as "yellow" text boxes please.


[attachment deleted by admin]
Link to comment
https://forums.phpfreaks.com/topic/29925-php-forms-help/#findComment-139700
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.