Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
María José
Webform error messages not showed
17 de enero de 2012 9:37
Respuesta

María José

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 3 de noviembre de 2008

Mensajes recientes

Hello!

I'm using 6.0.6 ce version. I inserted a webform portlet, without any changes, and click the send button. Since the fields are all mandatory, a message is displayed in each field with "This field is mandatory", but a moment after the message disappears and only the error icon and a red rectangle is shown ...

It is expected that the text of the error remains all the time, so that the user knows what is the mistake.

Does anyone know how to fix this?

Thank you very much.
Adjunto

archivos adjuntos: webform_error.png (11,9k)
Julio Ayllón
RE: Webform error messages not showed
23 de enero de 2012 3:03
Respuesta

Julio Ayllón

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 20 de enero de 2012

Mensajes recientes

I have the same problem.
I've debugged the portlet source and I think the problem is, in the submit handler, this code (in view.jsp):

if (validationErrors) {
event.halt();
event.stopImmediatePropagation();
}

doesn't work, and the post arrives to the server who send there is problems with the fields... Or maybe there is another handler for the submit button, I don't know.

In liferay 6.1.x this problem doesn't exist but there are others bugs like problems adding new fields.

Any help?
Mónica Rubio
RE: Webform error messages not showed
21 de junio de 2012 6:24
Respuesta

Mónica Rubio

Ranking: New Member

Mensajes: 6

Fecha de incorporación: 21 de julio de 2010

Mensajes recientes

Same problem. Have you found some solution?