Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
What do you mean with that? Isn't there an easier way to grep the temporary input in that Custom HTML field and use that in a SQL update statement onAfterUserUpdate?You'll need to access the inputs directly from POST, which you can do using substitutions if you like (e.g. [post_INPUTNAME]).
Please Log in or Create an account to join the conversation.
You'd need to use a Code field in that case and supply whatever PHP you like to render your custom edit field.- But how do I insert the result of a SQL select in that Custom HTML field when onBeforeUserProfileEditDisplay is triggered?
The easiest way to get the POST data for your custom inputs is to use substitutions. For example lets say I have a text field with name="group_name" then I can get that using [post_get_name]. So yes you could use a Query action if you wanted to here, but be sure to use format functions to sanitize the data. Example as follows.What do you mean with that? Isn't there an easier way to grep the temporary input in that Custom HTML field and use that in a SQL update statement onAfterUserUpdate?
Please Log in or Create an account to join the conversation.