Jump to content

Nheller

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Nicolas
  • Last Name
    Heller

Nheller's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Is it a silly question or nobody knows what to do to have a validated form with the helper? If i missed something in the doc and that makes the question not worth answering, please share anyway, I would gladly admit my silliness but I need this validation working and I cannot get it to do so.
  2. Hello all, I'm struggling with the validation of a configuration form for a custom module, I'm trying to keep the code as neat as possible. I use the helperform class to generate the form, I added the required => true, but a novalidate attribute on the <form> make it useless (apart from displaying a pretty red * before the label). Is there a trick I have not discovered to have a working validation with the helper class without overriding anything or doing ajax? I found nothing really interesting on the internet... On a second point, how are you supposed to have a field containing only numbers with the helper class since there's no "number" type field? Thank you very much for your help.
×
×
  • Create New...