Polymer + form POST data -
i have
<form id="form_837299" class="appnitro" method="post" action="insert.php"> <paper-input label="title" name="title" maxlength="255"> </paper-input> <paper-input floatinglabel multiline label="text" name="text"></paper-input> <li class="buttons"> <input type="hidden" name="form_id" value="837299" /> <input id="saveform" class="button_text" type="submit" name="submit" value="submit" /> </li> </ul> </form> i have problem post data - nothing sended in "text" , "title" (all in paper-input).
i modified template , attribute "name" in 1 div, polymer created. no data sent.
print_r($_post); shows me this: array ( [form_id] => 837299 [submit] => submit )
anybody knows how use polymer , material ui on form?
only elements extend native form elements automatically submitted forms. paper-input extends core-input has input inside opposed extending it. see this mailing list discussion additional discussion , this stackoverflow post possible solutions.
something this jsbin maybe?
update: here's same thing in web component form.
update: looks creator of ajax-form has added functionality.
update: consider using iron-form.
Comments
Post a Comment