Hi Rob,

Thanks for reply. Is it possible to submit a form in Polymer simply like we
do in html or without using ajax?


On Thu, Aug 14, 2014 at 11:55 PM, Rob Dodson <[email protected]> wrote:

> You'll want to use ajax to submit the element. Take a look at this
> StackOverflow thread:
> http://stackoverflow.com/questions/24461460/polymer-form-post-data
>
> We're working on a better solution and hope to have something to show soon
>
>
> On Thu, Aug 14, 2014 at 6:48 AM, Sachin Kumar <[email protected]>
> wrote:
>
>> Hi,
>> Please tell me how to submit a form having paper element.
>>
>> *e.g.*
>> <form action='', method='POST'>
>>
>>                     <paper-input placeholder="First Name" required
>> invalid id="paper_input" error="This Field is required" label="Type
>> something..." class="invalid"></paper-input>
>>                     <paper-input placeholder="Last Name" required invalid
>> id="paper_input1" class="invalid" label="Type something..."></paper-input>
>>                     <paper-input placeholder="Enter Your Email" required
>> pattern="^(.)+@[a-z A-Z _]+?\.[a-zA-Z]{2,3}$" invalid id="paper_input2"
>> class="invalid" label="Type something..."></paper-input>
>>                     <paper-input type="password" placeholder="Enter
>> Password" required invalid id="paper_input3" class="invalid" label="Type
>> something..."></paper-input>
>>                     <paper-input type="password" placeholder="Confirm
>> Password" required invalid id="paper_input4" class="invalid" label="Type
>> something..."></paper-input>
>>                     <input type="SUBMIT" name="submit"/>
>>
>>                 </form>
>>
>> Thanks
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/a05917c8-fae7-46aa-a62b-953c3bedd0b5%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/a05917c8-fae7-46aa-a62b-953c3bedd0b5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>


-- 

Thanks & Regards,
Sachin Kumar
Daffodil Software pvt. ltd,
Gurgaon, Haryana

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAF%2B1WhhXs_QN2tZf1%3DFSkNCFP4dz_s%3D%3DZZ7CSj7OBctpjUJ7gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to