PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Remove unused fields from the entries section/email

  1. Hey all,

    Not sure, but I must be missing something. How on earth can I stop the form sending unused fields to the entries section?

    Ta
    Below is the most of the info the client receives, but they only want whats been filled, not the empty sections.

    What kind of a Journey?
    Single

    Single Journey Booking Information
    Collection Time
    08:00 pm
    Date of Collection
    28/07/2011

    Where would you like us to pick you up?
    Airport

    Address Details
    Airport Details
    Ok, Which Airport?
    London Gatwick
    What is your Flight Number?
    aaa

    Ferry Details
    Station Details
    Outbound Details
    Outbound Address Details
    Outbound Airport Details
    Outbound Ferry Details
    Outbound Railway Station Details
    Inbound Details
    Inbound Address Details
    Inbound Airport Details
    Inbound Ferry Details
    Inbound Railway Station Details

    Now choose your car please?
    Executive MPV

    How many cars would you like?
    2

    Posted 12 years ago on Tuesday July 26, 2011 | Permalink
  2. The Entry Detail page, by default, only displays fields that have been filled out. The only time the Entry Detail page displays empty fields is if the "Show Empty Fields" checkbox is checked on the Entry Detail page. See this screenshot, it's on the right side: http://i.imgur.com/OCpEi.png

    As far as email notifications go, the {all_fields} merge tag by default returns ALL form fields that have been filled out and doesn't return empty fields. If you have created a custom email notification and are not using the {all_fields} merge tag, that isn't going to happen. The email is going to contain whatever you have added to the message body. That is why it's typically easiest to just make the Notification Message simply be the {all_fields} merge tag which outputs a nicely formatted table that looks like the entry details in the admin.

    Posted 12 years ago on Tuesday July 26, 2011 | Permalink