Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
Before users can be added to the group, the group must be named and submitted to the DB and validated (ie: alphanumeric only, no existing entries with the name)
To keep a good flow to this procedure, I'm using Ajax.Updater - this returns a success or failure message to the user based on the validation mentioned above.
The problem I'm having is the function isn't being triggered - if successful Ajax.Updater returns
<div class="success"> GROUPNAME SUCCESSFULLY CREATED - YOU CAN NOW ADD USERS TO THIS GROUP</div>
I know the function works ok as it runs if I hardcode this script into the page containing the form.
Can anyone advise why this is? Is there a different way I can trigger this function?
bearing in mind that I can't do onComplete:ShowUsers - as I need a response from the DB before deciding if the function should be called