Search the Community
Showing results for tags 'notification_email'.
-
I have a form that can be for two separate but related cases. Based on the case selected, certain fields are or are not hidden. So in each case there is a section that does not apply. Is there a way to conditionally show parameters in the auto emails based on which radio button is checked? Essentially mimicking the rules of the form? Or, probably easier, is there an easy way to include it all in the email but hide any fields that are left blank? And not based on any checkbox, but simply if the field is blank, do not show it in the email. Also, I already am using this script for phone #s on the form, in case this affects anything. Thanks! <SCRIPT LANGUAGE="JavaScript"> function f_a(v_id) { return document.getElementById(v_id); } f_a('InsertRecordSchool_Contact_Phone').maxLength = 14; f_a('InsertRecordSchool_Contact_Phone').onkeyup = function(v_e) { v_e = v_e || window.event; if (v_e.keyCode >= 65 && v_e.keyCode <= 90){ this.value = this.value.substr(0, this.value.length - 1); return false; }else if (v_e.keyCode >= 37 && v_e.keyCode <= 40){ return true; } var v_value =(this.value.replace(/[^\d]/g, '')); if (v_value.length==7) { this.value = (v_value.substring(0,3) + "-" + v_value.substring(3,7));} else if(v_value.length==10){ this.value = ("(" + v_value.substring(0,3) + ") " + v_value.substring(3,6) + "-" + v_value.substring(6,10)); }; } </SCRIPT>
- 4 replies
-
- emails
- hide_fields
-
(and 3 more)
Tagged with: