Add ability to change field content before sending form tracking
See original GitHub issueWhen i enable form tracking, i would like to be able not only to filter the fields, but als provide a function to change the field value programmatically. For example find fields with class email and transform it into an md5 hash. Of course the transform should only be executed if whitelist and filter let the respective field through.
var config = {
forms: {},
fields: {
filter: function (field) {
return field.class == "email";
},
transform: function(value) {
return md5(value);
}
}
};
Cheers.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Form Field Tracking with Google Tag Manager - MeasureSchool
This is a guide to Form Field Tracking with GTM. Learn how to capture valuable customer data from your website forms ready for......
Read more >Change field value before submit - javascript - Stack Overflow
It works, but I would like to change it so that the form isn't display changes in the text box before sending. How...
Read more >Solved: Update Status field from Draft to Submitted after
I want the Status field to default to Draft before submitting the form through Save button. and once you hit the Save button,...
Read more >Editing Input Fields in a Form - Salesforce Help
To make a field a required field, which means the user must complete the field before submitting the form, select Required Field in...
Read more >Edit your form fields - HubSpot Knowledge Base
You can create and add a custom checkbox property to your form, then use a workflow to update that property. Contacts who select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Scheduling
Let’s move this forwards into the current release.