![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@roofmaxx/form
Advanced tools
The intention of this readme is to document the most important features and characteristics of the multistep consumer form made with **ReactJs + Tailwind** using the **forms API from hubspot**, the **map_status API from roofmaxxconnect** and **Google Auto
The intention of this readme is to document the most important features and characteristics of the multistep consumer form made with ReactJs + Tailwind using the forms API from hubspot, the map_status API from roofmaxxconnect and Google Autocomplete function with Places API
If you want to use the version of the library, you just need to copy and paste the codes below preferably in the <head>
of you page:
<script type="module" src="https://unpkg.com/@roofmaxx/form/dist/form.js"></script>
If you are facing issues with the form try inserting the JS script (not the CSS) in the footer of your page OR add the defer value (The defer is a Boolean value, used to indicate that the script is executed after the document has been parsed)
<script defer type="module" src="https://unpkg.com/@roofmaxx/form/dist/form.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@roofmaxx/form/dist/form.css" />
If you want to use a specific version of the library, you can specify it both in the script tag and link tags:
<script type="module" src="https://unpkg.com/@roofmaxx/form@0.3.0/dist/form.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@roofmaxx/form@0.3.0/dist/form.css" />
To make the form work you need to add the following code to your page at the place where you want the form to show:
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page=""
data-sorry-page=""
data-video-form=""
>
</div>
Here you can configure the form by passing different data attributes to the wrapper element.
If you have a dealer id please insert it in the data-dealer-id field in between the ""
If you are using a vendor for your marketing please insert his name in the data-source-vendor field in between the ""
You can leave empty the following fields:
If you have a custom thank-you page please insert the complete URL in the field data-thank-you-page, as if not the default thank you page is at https:roofmaxx.com/thank-you
If you dont't want the video to appear at the top of the form just add false in the data-video-form. By default the video will be shown.
Regarding the UTM parameters please read the following:
In case you make use of UTM parameters, the form has a priority logic that gives priority to the data-attributed UTMs.
Placing the form into roofmaxx.com and in any case (there is or not a dealer in the area/zipcode) user will be redirected to roofmaxx.com/thank-you
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page=""
data-sorry-page=""
data-video-form=""
>
</div>
Placing the form into roofmaxx.com/find-a-dealer/xxxx/zzz and in any case (there is or not a dealer in the area/zipcode) user will be redirected to roofmaxx.com/find-a-dealer/thank-you
--> For the find-a-dealer page, state/location page
<div
id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type="RMCL-F"
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page=""
data-sorry-page=""
data-video-form=""
></div>
<script>
/* Add dealer/company ID to HS form */
if (typeof roofmaxx_company_id !== "undefined" && roofmaxx_company_id) {
//setTimeout(function() {
$("#roofmaxx-form").attr("data-dealer-id", roofmaxx_company_id);
//}, 500);
}
</script>
--> For the Microsites
<div
id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type="MICRO"
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page=""
data-sorry-page=""
data-video-form=""
></div>
<script>
/* Add dealer/company ID to HS form */
if (typeof roofmaxx_company_id !== "undefined" && roofmaxx_company_id) {
//setTimeout(function() {
$("#roofmaxx-form").attr("data-dealer-id", roofmaxx_company_id);
//}, 500);
}
</script>
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page="https://exampleHubspot.com/thank-you"
data-sorry-page=""
data-video-form=""
>
</div>
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor=""
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page="https://exampleHubspotYES.com/thank-you"
data-sorry-page="https://exampleHubspotNO.com/thank-you"
data-video-form=""
>
</div>
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor="XYZ"
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page="https://exampleHubspot.com/thank-you"
data-sorry-page=""
data-video-form=""
>
</div>
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id=""
data-source-vendor="XYZ"
data-deal-type=""
data-self-generated=""
data-lead-type=""
data-microsite-type=""
data-thank-you-page="https://exampleHubspotYES.com/thank-you"
data-sorry-page="https://exampleHubspotNO.com/thank-you"
data-video-form=""
>
</div>
Placing the form into a dealers website/landing with a custom thank you page.
* it is recommended to have your own thank you page, otherwise after a successful form submission user will be redirected to roofmaxx.com/thank-you page and you won't be able to measure correctly your conversions (in case you track conversions).
In case you use UTM parameters and you don't want to use the UTMs in the URL please insert them in the form. These hardcoded UTM parameters serve only if the form is submitted.
Dealers' id = 2452308196
<div id="roofmaxx-form"
data-utm-source=""
data-utm-campaign=""
data-utm-medium=""
data-utm-content=""
data-utm-term=""
data-page-variant=""
data-zip-code=""
data-dealer-id="2452308196"
data-source-vendor=""
data-deal-type=""
data-self-generated="SG"
data-lead-type=""
data-microsite-type=""
data-thank-you-page="https://dealers.com/thank-you"
data-sorry-page=""
data-video-form=""
>
</div>
FAQs
The intention of this readme is to document the most important features and characteristics of the multistep consumer form made with **ReactJs + Tailwind** using the **forms API from hubspot**, the **map_status API from roofmaxxconnect** and **Google Auto
The npm package @roofmaxx/form receives a total of 33 weekly downloads. As such, @roofmaxx/form popularity was classified as not popular.
We found that @roofmaxx/form demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.