sending polymer iron form data to firebase

600 views Asked by At

I want to send this form data to Firebase URL:

https://blazing-heat-759.firebaseio.com/senso/

<form is="iron-form" id="form" method="post" action="/">                  
<paper-input name="qty2" label="Quantity"></paper-input>
<paper-input name="cdate2" id="d2" type="date"></paper-input>
<button type="submit" class="submit">Submit</button>

is there a way to do it?

1

There are 1 answers

0
Alex Kimoto On BEST ANSWER

You need to push your data to a Firebase ref. Try to adapt from this example for a contact form.