Jump to content

Code

Recommended Posts

Site URL: http://www.dominionhomeservices.net

I am trying to add custom code from Jobber to embed a form.  I am using this code 

<button name="button" type="button" id="work-request-button-b112354f-b60e-41fb-adcb-13644e49491a" style="display: inline-flex;color:#ffffff;background-color:#7db00e;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;font-family:'Noto Sans',Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1;-webkit-font-smoothing:antialiased;-webkit-appearance:none;text-align:center;text-decoration:none;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;vertical-align:middle;">Work Request</button>
<link rel="stylesheet" media="screen" href="https://d3ey4dbjkt2f6s.cloudfront.net/assets/external/work_request_embed.css" />
<script src="https://d3ey4dbjkt2f6s.cloudfront.net/assets/static_link/work_request_embed_dialog_snippet.js" clienthub_id="b112354f-b60e-41fb-adcb-13644e49491a" form_url="https://clienthub.getjobber.com/client_hubs/b112354f-b60e-41fb-adcb-13644e49491a/public/work_request/embedded_dialog_work_request_form"></script>
 

Every time I try to place the code I get a syntax error.  I have included a screen shot.

Thank you.

lv

Screenshot (4).png

Link to comment
  • Replies 1
  • Views 528
  • Created
  • Last Reply

Your code is HTML and that will not work in Design > Custom CSS which only accepts CSS and LESS.

Usually with code like that you want to add a code block to a page and put the code in there.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.