PDA

View Full Version : Filter Form Results



bwrobo
14-Dec-2006, 09:18 PM
I'm currently working on a quote request form for one of my customer, I'm having trouble finding a way to filter out the un-needed fields from resulting email response.

The form is relatively simple, a customer enters in their personal information, than can choose one of or any combination of 8 product categories they would like a quote for... from their the <div> that contained the form data is made visible, and the viewer can fill out that information.

I created a HTML response template that organizes the data, however, I am forced to show all the form results. My orignal solution was to set <DIV>'s like I did in the form that would make the information invisible if it wasn't filled out, however, I need a Javascript function to do that, and Microsoft Outlook doesn't allow Javascripts to run.

Has anyone tried to come up with a solution similar to my plan? If so how did you pull it off?

Thank You,

Brian Wroblewski
GoWebLive!

russellr
14-Dec-2006, 10:11 PM
Hi,

We've recently implemented new "Advanced Templates" which allow you to do exactly what you want.

You need to purchase the latest version of the FormMail Computation Module (not available on the website) and we'll need to tell you how to do this.

Here's an example we implemented for a customer:


<if "$sPersonalization">
<if $iPersonExtra>
<p>Extra personalization required</p>
</if>
<p>Personalization: $sPersonTextName</p>
</if>

Basically, you can use "<if></if>" tags to include or exclude HTML from the templates.

If you're interested in obtaining this feature, please contact me offline.