Questions tagged [iron-form]
16 questions
5
votes
1 answer
Iron form with polymer 2.0
I'm having a bug, I replicate the bug in jsbin: https://jsbin.com/micinalacu/1/edit?html,console,output
The iron form, when submit the serialize method return always undefined, and it's called two times.
…

Elias Pinheiro
- 237
- 3
- 11
2
votes
1 answer
Iron form not submitting on enter with paper input
I'm testing out using iron-form with custom elements. The issue I'm having is the form is not being submitted when I press enter. For example this form right here works on enter:
1
vote
1 answer
How to submit iron-form via ajax in Polymer 3
The Problem
I want to submit an iron-form in Polymer 3. I use a paper-button and the form has to be submitted via iron-ajax.
This is my view.js
import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
import…

Lukas
- 13
- 4
1
vote
1 answer
How to addEventListener to Polymer 2.0 iron-forms loaded with iron-ajax within dom-repeat template
I have been using the following syntax to edit iron-form requests before submitting in Polymer 2.0:
connectedCallback() {
super.connectedCallback();
someForm.addEventListener('iron-form-presubmit, function() {...})
}
Now I want to load…

bill88
- 13
- 4
1
vote
1 answer
How do I get form data from iron-form to be output in view
I am new to Polymer 2 and ES6. I can console.log data that is input into the iron-form. However, I can't output it to the screen. I thought this line would achieve the goal:
this.querySelector('.output').innerHTML =…

Amanda Michel
- 33
- 5
1
vote
2 answers
iron-form 2.0 in Polymer 2 element: function not defined
Trying to replicate on of the iron-form demos from https://www.webcomponents.org/element/PolymerElements/iron-form/demo/demo/index.html inside a Polymer 2 element, and just can't seem to get it working.
When clicking Submit, I get Uncaught…

ModernDeveloperLLC
- 138
- 6
0
votes
0 answers
Presubmit doesn't fire?
I have an iron-form element and I'm trying to attach a file to the POST request. However, iron-form-presubmit never fires. I have the following function defined:
restForm.addEventListener('iron-form-presubmit', function() {
…

lte__
- 7,175
- 25
- 74
- 131
0
votes
2 answers
Trying to submit iron-form polymer 2 - Cannot read property 'submit' of null
I'm not able to submit my iron-form. At this point I just need to see the content in the console, but when trying to submit the form i'm only getting error-msg: Uncaught TypeError: Cannot read property 'submit' of null. I've probably missed…

R. Radio
- 13
- 2
0
votes
3 answers
Polymer.js align iron-form elements horizontally
I am trying to create a form using Polymer 2.0 using iron-form. I want to align two form elements in one row and the next two element in the next row and so on.
But i cant figure what to use to achieve this.
Please see the code below.

Arun
- 35
- 1
- 8
0
votes
1 answer
I can't access iron-form inside dom-repeat by using index
I'm loading some records from a cassandra database (using iron-ajax and dom-repeat) and by clicking on one row I'm opening a paper-dialog where values are loaded into an iron-form containing paper-input editable fields. After editing I should be…

vlucian
- 77
- 1
- 9
0
votes
1 answer
Polymer:iron form how to append parameters to url with file upload
i am trying to create a form entry in which user selects certain parameters like date and type of file and he uploads the file and when he click on upload , the parameters should be appended to url, is it possible to send multipart form data this…

triples13
- 206
- 4
- 18
0
votes
2 answers
iron-form addEventListener of null
in relation to an already asked question here
But that question never got answered.
I am trying to addEventListener on an iron-form like:
my HTML imports:

AHahn
- 137
- 1
- 10
0
votes
0 answers
Iron form does not serialize some custom fields
I'm trying to submit a form with custom elements. I want to know if is it possible to serialize, or have an workaround to get that data.
0
votes
1 answer
Send data between Polymer Elements using iron-ajax
I'm having the my-app.html which does have the app-toolbar, app-drawerlayout and etc which is loading the my menu elements(myView1.html and myView2.html).
I have iron-ajax call in myView1.html so when the response comes in the myView1.html it…

Jagadesh Seeram
- 2,630
- 1
- 16
- 29
0
votes
1 answer
Polymer 1.0 Iron-form refuse to display data details
for few days I've been seraching why my iron-form with my polymer element refuse to work correctly. When I want to see what looks like my value from my paper-textarea when I submit I can't because my file doesn't recognise my id : feedbackForm. Here…

arousseau
- 21
- 2