I would like to see the ability to add a custom attribute to a form field. We use Zoho SalesIQ. If there was a way we could connect form submission data to SalesIQ if we could add a custom attribute.
Thanks, this made things so much simpler. I’m not strong with JavaScript or jQuery. So my plan is to add a class to the different types of inputs. Then I’ll add the jQuery code below.
if ($(".gfield").length){
//check if page has a form
$(document).ready(function() {
$('input.fname').attr("siqatrib", "firstname");
//add attribute based on input class
$('input.lname').attr("siqatrib", "lasstname");
$('input.phone').attr("siqatrib", "phone");
$('input.email').attr("siqatrib", "email");
$('input.company').attr("siqatrib", "company");
});
}
We use Zoho SalesIQ. It can capture CRM data from forms but you have to use Zoho forms. I’d rather use Gravity. We have 4 forms in total and this will make that capture nice and neat. Thank you so much for pointing me in the right direction.