Please Log in or Create an account to join the conversation.
No, it still needs to be a valid query. I gave you an example usage of SQL functions to generate a random string. Just querying MD5( RAND() ) will error.Are you sure CB Query Field must contain only MD5( RAND() ) ???
Yes, you can use PHP functions to generate random strings. Just add uniqid() to it for example.Alternatively I wondering if this was not possible directly in the php code of Auto-Action instead to play with CB field and substitution. In found for example some possibility for do that here:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Below should work using purely PHP. As you're already using PHP you won't need a query field or anything of the sort.Ok but could you please give me a valid example query to use ? I don't see how to make this especially because the user is not yet created in the process. I'm supposed for example to specify existent user such myself as Super Admin ?
For future reference I suggest checking out the below tutorials to get started on learning some PHP and SQL. We do not provide custom coding. Please understand I can not keep giving you functioning examples everytime you need them.Sorry but my sql/coding knowledges are very poor..
Please Log in or Create an account to join the conversation.
Please understand I can not keep giving you functioning examples everytime you need them.
Please Log in or Create an account to join the conversation.
It truly is a matter of time unfortunately.but I know for you is not matter of money but probably more matter of time.
We're already gathering a list of recommended developers. Hopefully after awhile we'll have enough that we can confidently suggest someone anytime anyone needs custom coding.It would be a great thing to have a person of your team (or a CB partner/coder) who could help for this kind of little thing in exchange of a fee... I'm sure around here some of your customers could be interested in a service such this one..
I wouldn't even bother with CB Conditional usage in this situation. Just set your Email field as non-Required then in your Auto Action add a conditional as follows.With Auto-Action and your solution I can generate a fake email for the case where a user cannot provide an address. But when he can, is necessary to not fire the action otherwise instead to register with his own email he will get a fake email. So the only solution I found is to create a new Radio field Yes/No "Can you provide an Email address??". Then I applied a condition to my action for fire only if Radio field value is equal to No. For be logic, I setup also CB Conditional field for hide Email field if Radio field is ticked to NO (this of course for avoid confusion). But with this last condition I get again a "format error" and I can't register... If I remove the condition (that mean email field is visible even if user ticked No), I can register without problem...
Correct, if it functioned only on a display level it'd be a vulnerability. It stops the post value from ever storing to prevent this.but it seem his task is not only to hide but also to more less disable the field...
Please Log in or Create an account to join the conversation.