I am using the gform_pre_submission_filter to alter my notification emails. I am checking first to see if the field has been filled out and if so, displaying it out in the email.
I'd like to also be able to display the corresponding field's description in the email along with the user input. The email is being sent to a "customer service" desk and orders are fulfilled based on the description of the product. Really need to display this dynamically instead of me updating each time a field is changed.
Here is a snippet of the current code.... Basically how do I call the description of a field? The description portion of this field was typed out by me as the "LVF Backpack/HVF - Wetlands..."
[php] if($_POST["input_65"] != '') $form["notification"]["message"] .= "<strong><span style='font-size:11pt;font-family:Arial; color:#372A12'>LVF Backpack/HVF - Wetlands Pallet Quantitiy: " .$_POST["input_65"]. "</strong> D.C Mix Rate: 53.33% Rodeo, 6.67% Polaris, 13.33% AqufactEnd Use Mix Rate:15 makes 200 End Use Mix Rate: 4% Rodeo, 0.5% Polaris, 1% Aqufact15 makes 750 End Use Mix Rate: 1.067% Rodeo, 0.133% Polaris, 0.267% Aqufact</span> ";