Jump to content


Remove blank fields from form.


1 reply to this topic

#1 HHawk

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 05 January 2007 - 08:52 AM

Hi there,

We use an order form on our website, which works great, but it also have a few empty fields (not required to be filled in) which are taking up a lot of space on the order form when we receive it by email.

Is there a way to remove the empty fields when they are not filled in, before they get sent to an email address?
So that when we receive an order form, the empty fields are not displayed?

I did a search here and on Google on removing empty fields, but no succes... Or am I searching incorrectly?

Thanks for all the help in advance.

#2 bay

    Young Padawan

  • Members
  • Pip
  • 105 posts
  • Gender:Male
  • Location:Chicago, IL USA

Posted 05 January 2007 - 11:48 AM

Yeah, you can choose what you want to be sent to your server/email, or wherever the data is being sent.

Are you doing this in PHP or another language? It would be easier to help if you could post your code.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users