Help with form editing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Darrel
Forum Commoner
Posts: 33
Joined: Fri Oct 10, 2014 2:30 am

Help with form editing

Post by Darrel »

Hi, i need some help for code changing.

I recently put together a form for a client - I am not a programmer (designer) but it worked really until we tried to put the name of a city. It wouldn't take abbreviations that the post office uses


I need to do one of two things - allow it to take abbreviations or take off the requirement that the field has to be filled out.


HELP

Here is the code.

Code: Select all

<li class='field_block' id='field_3_div'><div class='col_label'>
<label class='form_field'>Street Address</label> <label class='form_required' >*</label> </div>
<div class='col_field'>
<input type="text" name="field_3"  id="field_3" value="<?php  phpfmg_hsc("field_3", ""); ?>" class='text_box'>
<div id='field_3_tip' class='instruction'></div>
</div>
</li>
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Why the extra quotes in PHP

Post by Benjamin »

Open a new thread. Don't hijack an existing thread.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Help with form editing

Post by Celauran »

Split this off into its own topic. The code you posted deals only with the display of the form, not its processing or validation. Please post that so we can help you make the changes you need.
Post Reply