Skip to content

Instantly share code, notes, and snippets.

View markwainwright's full-sized avatar

Mark Wainwright markwainwright

View GitHub Profile
<style>
/**
* Do not remove this section; it allows our team to troubleshoot and track feature adoption.
* TS:0001-07-008
*/
@font-face {
font-family: 'MyFontName';
src: url('//yoursite.com/fonts/myfont.eot?#iefix') format('embedded-opentype'),
<script>
// Change the message when required field is empty. Replace `your_name` with your form field ID.
window.ub.form.validationMessages.your_name.required = 'You forgot to enter your name!';
// Change the message when email address field is invalid. Replace `your_email_address` with your form field ID.
window.ub.form.validationMessages.your_email_address.email = "That doesn't seem to be a valid email!";
// Change the message when phone number field is invalid. Replace `your_phone_number` with your form field ID.
window.ub.form.validationMessages.your_phone_number.phone = "That doesn't seem to be a valid phone number!";