Link to home
Start Free TrialLog in
Avatar of richl
richl

asked on

bypassing lines

:I am a beginner in cgi, and my question is that I created
the form, and I post it to a cgi script. For example I have
for address, three lines that they can fill out. I named
them "add1", "add2", and "add3". What happens is when the person filling out the form only fills out the first add1, and not the second and third, and I post it to the cgi, It places the extra lines on the next page. How do I get the cgi to skip thoselines and move up my next field.


               My cgi looks like:

               <h3>$input{'add1'}<br>
               <h3>$input{'add2'}<br>
               <h3>$input{'add3'}<br>
               $input{'city1'}, $input{'state1'}
               $input{'zip1'}</h3></center></b>

I want it to skip the "add2", and "add3", and bring up
the "city1" to just below the "add1". Right now it prints
the blank lines between "add1" and "city1". Thank you
in advance for your help.
ASKER CERTIFIED SOLUTION
Avatar of Mike Montgomery
Mike Montgomery
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial