icarrion
12-06-2004, 10:33 AM
Hello Staff,
I have a client who would like to use the enewsletter but be able to filter through the data. ie: "Send campaign to all U.S. clients".
After looking at the functionality of the module, it seems as if it would be best placed in the Wizard step 2 of create_campain.php. This way, the user can select (optional of course) the field he/she wishes to filter, then select the operator (= < >) then blank text field where user can type in the criteria. To get a better idea, please look at the html below.
Filter data by field: <select size="1" name="criteria_fieldname">
<option value="Name">Name</option>
<option value="CustType">CustType</option>
<option value="City">City</option>
<option value="State">State</option>
<option value="Country">Country</option>
</select> <select size="1" name="criteria_operator">
<option value="Equal">Equal</option>
<option value="Greater Than">Greater Than</option>
<option value="Less Than">Less Than</option>
<option value="Like">Like</option>
</select> <input type="text" name="criteria_var" size="20"></p>
</form>
I'm going to code it for my client so if you guys are interested, I can send it your way so that it may be placed in the default distro if your staff approves of course.
I have a client who would like to use the enewsletter but be able to filter through the data. ie: "Send campaign to all U.S. clients".
After looking at the functionality of the module, it seems as if it would be best placed in the Wizard step 2 of create_campain.php. This way, the user can select (optional of course) the field he/she wishes to filter, then select the operator (= < >) then blank text field where user can type in the criteria. To get a better idea, please look at the html below.
Filter data by field: <select size="1" name="criteria_fieldname">
<option value="Name">Name</option>
<option value="CustType">CustType</option>
<option value="City">City</option>
<option value="State">State</option>
<option value="Country">Country</option>
</select> <select size="1" name="criteria_operator">
<option value="Equal">Equal</option>
<option value="Greater Than">Greater Than</option>
<option value="Less Than">Less Than</option>
<option value="Like">Like</option>
</select> <input type="text" name="criteria_var" size="20"></p>
</form>
I'm going to code it for my client so if you guys are interested, I can send it your way so that it may be placed in the default distro if your staff approves of course.