Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Form Builder addon: It's possible to insert custom attributes in submit button and how?

Featured Lock Resolved Issue
Good morning,

we need to add this code: onclick="return gtag_report_conversion('http://example.com/your-link') to the submit button for a form added with Form builder addon.

This tag-code is essential in order to monitorize the conversions connected to a Google Ads campaign.

Is there any way to add the above code tu a submit button?
Can you please help us?
Thank you in advance for your support.

Enrico

3 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
No - from addon settings
Yes - if you would decide to override addon inside your template and edit that addon php code.

From
components\com_sppagebuilder\addons\form_builder\site.php
To
templates\YOUR-TEMPLATE\sppagebuilder\addons\form_builder\site.php
Then edit php code.

I cannot help more, it's code customization task - beyond support.

enrico

More than a month ago #Permalink
Thank you very much Paul.

enrico


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 129
Toufiq

Toufiq

Total Accepted Answers: 100
Sifat

Sifat

Total Accepted Answers: 63
RV

RAFFAELE VIOLA

Total Accepted Answers: 2
O

Olga

Total Accepted Answers: 1

116

Templates

299688

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us