Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    Quote Originally Posted by Old Pedant View Post
    Did you try what Felgall suggested?

    .......
    lol, I did not know that that had been suggested, or more to the point that you could even do that, I see what Felgall meant now in light of your example ... off to see how that works! :exited:
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  2. #17
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    OK, as usual I was going about this the wrong way , I was trying to avoid an extra ajax/class/db call when the form generator already had that info available.

    I ended up getting the routine that parses the ajax-posted data to simply return a JSON-encoded string back to the calling (javascript) function (which is in the main scope/page) which then either hides the form and populates other fields on success or displays/highlights the errors appropriately.

    thanks for all the ideas which I will be able to use elsewhere regardless.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •