1
rh94040
Adding a form with validator
  • 2004/5/5 23:45

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


What is the best way to add a form with a validator on XOOPS 2.0.6?

What I want is the following:

1. one menu item listed in the Main Menu
2. when clicked that menu item opens a form of my own design
(within the XOOPS site, just as the Contact Us or Edit Profile forms)
3. when submitted, a validator is run and error messages are displayed if errors, and a confirmation is displayed if all is checked (again, within the XOOPS site).

What is the best approach to this? I have no problem writing
the form or the validator, but I need help with integrating all this into xoops. Also, is there a generic form validator library that comes with xoops?

Thanks much,
Ray

2
DonXoop
Re: Adding a form with validator

One way is to try Formulaire

It might at least be a good starting point but it does what you describe.

3
rh94040
Re: Adding a form with validator
  • 2004/5/6 4:39

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


This is great. It _almost_ does everything I need. Perhaps
the validator needs to be a bit more complicated, but the
most urgent feature missing which I need is the ability to
add a detailed explanation for any field that may not be
very self-explanatory to the user. I know I can add all that to the Caption, but it gets really ugly when it's too long. One way I like is to have a third column in the form where I can stick in a long explanation if necessary for a field. Is this supported or in the works for Formulaire?

Thanks much,
Ray

4
WarDick
Re: Adding a form with validator
  • 2004/5/6 4:46

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Have you taken a look at the No-Ah module. There is a release in the Module Dev Forge.

I don't know if it will do what you want but it is Formulaire on steroids.

Best Wishes,

Login

Who's Online

353 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits