I don't know how to customize the following snippet for my form: [login to view URL]
/**
* Gravity Perks // GP Populate Anything // Trigger Population on Button Click
*
* Instead of automatically populating fields when an input is changed, trigger the population when a button is clicked.
*
* Instructions:
* 1. Add snippet to form using [login to view URL]
* 2. Customize inputButton and optionally buttonSelector to match your form the desired field
* 3. Add HTML field to your form and add the following code to the HTML field:
* <button class="trigger-gppa">Click Me</button>
*/
var inputSelector = '#input_FORMID_FIELDID';
var buttonSelector = '.trigger-gppa';
function disableListener() {
$(inputSelector).data('gppaDisableListener', true);
}
disableListener();
$(document).on('gppa_updated_batch_fields', function( event, formId, fieldIds ) {
disableListener();
});
$('#gform_GFFORMID').on('click', buttonSelector, function(event) {
// Prevent submission of form when this button is clicked
[login to view URL]();
$(inputSelector)
.data('gppaDisableListener', false)
.trigger('forceReload');
});
I have some queries regarding the specifications of the project.
Could we please have a word?
My Skills:
Gravity Forms, HTML, WordPress, JavaScript and jQuery / Prototype
What you need to do is change that '#input_FORMID_FIELDID'; value inside the quotes to the id attribute of the text field. I can walk you through it on messaging, or you can send me the file, I'll do it and I can send it back.
Respected
My name is Farheen F, I am interested in I need help customizing a javascript snippet.. I and my team have completed more than 500+ website development projects in the last 10 years. We have expertise in creating Customer CMS websites, WordPress websites, Wix, Shopify, and Ecommerce websites.
Our website development projects start from 200$ and the minimum time we take to complete the project is 3 working days. (Depends on the projects)
The websites we make are :
Easy To Navigate
User Friendly
SEO Friendly
Adaptable To All Devices (Mobile / IPads / Tablets) Etc
I also provide website maintenance service.
As I am new on Freelancer, I am providing my services at very affordable rates.
Thank you for considering our proposal. We look forward to the opportunity to work with you on this project.
Regards
Farheen F
Hi,
I have checked your project description carefully and I can solve your issue successfully.
I have already worked on this kind of issue before.
Let's discuss the details anyways.
Regarding the time line and cost, we can decide after careful discussion.
Please open chat section for further discussion.
Hope to hear from you soon.
Regards,
Marcos
Hi,
I am a JavaScript expert and I am working since last 6 years in software development industry. I have worked with multinational companies and I am currently working at US based healthcare analytics company as a senior software engineer. I am able to work on this task, if you could give me the opportunity.
Regards,
Dikendra "Rowan" Siwakoti