Fork me on GitHub
#rum
<
2016-12-22
>
grounded_sage10:12:25

So I'm pretty stumped on setting single attributes in rum

grounded_sage10:12:31

Trying to set netlify to a form attribute so I can catch emails on a static website and it doesn't seem to be working!!!!! 😧

grounded_sage10:12:33

Guess I have to dangerously set inner html. Will have to come back to this after the Christmas break.

Niki12:12:46

what do you mean by single attribute? any code samples?

grounded_sage22:12:44

@tonsky

<p hidden>This paragraph should be hidden.</p>
. The main one that caught me out was doing form handling on netlify
<form name="contact" action="thank-you" netlify>
  <p>
    <label>Your Name:</label>
    <input type="text" name="name">
  </p>
  <p>
    <label>Your Email</label>
    <input type="email" name="email">
  </p>
  <p>
    <label>Message</label>
    <textarea name="message"></textarea>
  </p>
  <p>
    <button>Send</button>
  </p>
</form>

grounded_sage22:12:41

I did stuff like

[:form {:netlify true}]
but it didn't do it for me.