Last active
May 18, 2021 08:55
-
-
Save tobiasstrebitzer/00bd75c878920479be507f6cd1e0d95c to your computer and use it in GitHub Desktop.
Universal Form Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<universal-form mode="light"> | |
<universal-form-input name="name" label="Name" type="text" placeholder="Jane" required></universal-form-input> | |
<universal-form-input name="email" label="Email" type="email" placeholder="[email protected]" required></universal-form-input> | |
<universal-form-phone name="phone" label="Phone" placeholder="+1 555 555 1234"></universal-form-phone> | |
<universal-form-submit label="Start Trial" thank-you-text="Thanks for subscibing!" redirect-url="https://www.magloft.com/"></universal-form-submit> | |
<universal-form-target-rest-api url="https://api.domain.com/optin" fields="name email phone"></universal-form-target-rest-api> | |
<universal-form-target-gtm event="submit-newsletter-form" fields="email name phone" conversion-value="12.50"></universal-form-target-gtm> | |
<universal-form-target-intercom app-id="xxxxxxxx" event="optin" properties="product=universal-form optin=demo" fields="phone"></universal-form-target-intercom> | |
</universal-form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment