We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27519
    • 275 Posts
    Hi,

    I need to do server side form validation for a CMP. Up to now all my forms only required client side validation (required field, email field etc.) with fairly strait forward data processing using a PHP snippet (create, update etc.).

    If possible any errors after validation - if found - should be displayed using ExtJs’s quick tips (the red bulbs next to fields indicating the fields in error). I had a look at the New User form of MODx but that shows errors in popup window.

    Any info/help on how to implement this would be greatly appreciated.
      MODx Revolution / MAMP / OS X
      • 1778
      • 659 Posts
      Hello

      Do you know this site http://examples.extjs.eu/ ? It can be helpful for some features...

      In ’examples’ (left hand, top tree) you have under "Forms" a "Displaying form submit errors" that might fit your goal or can give you an indication on how to do that...

      Another one i found inteesting was under "Grid" : ’Displaying 1:n datas in QuickTips’

      Maybe a bit of one and a bit of the other, and some salt and pepper in addition can help you to cook your own wink
      Good luck
      Cheers
        • 27519
        • 275 Posts
        Thanks! Great tip. Better get out the pots and pans and start cooking... grin
          MODx Revolution / MAMP / OS X