elbradey
Forum Replies Created
-
Hi Kris!
Thank you for your prompt response!
Let me clear it more:
Forget about non-logged in users.
The case only works for logged in user.
If the user is logged in successfully > He can see one of the following options in a button:
1. “Start Application” -> If he doesn’t have a draft
2. “Continue Filling the Form” -> If he has a draft.
3. “Submitted Successfully” -> If he submitted successfully.That’s it!
Let me know if you need me to elaborate further.
It worked!!
Thank you so much, Patric and Zafer for your efforts! You guys are amazing.It worked exactly as expected!
Best Regards,
Thank you so much, Zafer, for your response and technical description! I really appreciate it!
May I have another two questions here:
How to specify the code to specific form using form(s) ID(s)?
Also, should I use it as an mu-plugin? As when I used it didn’t work.Waiting for your reply. And thank you so much in advance!
Hello @anthonyflibustiers,
Allow me to answer this question as I have done it before.I personally searched for a change in user role on form submission inside Forminator and didn’t seem to find it except for user registration, then it can only assign a user role to a newly registered user, it can be conditional as well.
I found a solution using Uncanny Automator Plugin (https://wordpress.org/plugins/uncanny-automator/) and worked very fine with me. It triggers Forminator forms submission and can create different actions as you like. Make sure that it’s for logged in users.
I hope it works with you.
Thanks!
It worked! Thanks a lot, Adam for your help!
And of course, send my endless thanks to WPMU DEV Team!Best Regards,
Hi @aakash8, thank you for providing the thread!
Actually the thread is about the one time submission for the entire form.My topic is about single option selection for user.
When the user chose an option once, it won’t appear again (for him) but the rest options will, the selected option will appear for the other users which will also have the same rule for each user.I hope I’ve clarified it, I know it’s complex somehow :”
Thanks in advance for your contribution!
Thank you Patric for the informative reply and help!
I’ve some inquiries about the code, as when I added it as mu-plugin it didn’t work on my side. Are there any additional steps to make it work on my side? As adding hidden field with custom value or specify the form in the code.
As I didn’t figure out any identifiers to where the code should work.
Regards,
Hi Patric, thanks a lot for your reply and time to read the document!
Yes, I’m validating on the fly “as the user types” not after submission.
Regrds,
Thank you Patrick for your help!
May I ask for assistance in adding the API to the code with this documentation link (https://register.gcaiot.org/wp-content/uploads/2022/09/Membership-Validator-API.pdf)
I couldn’t figure it out. Also, I’ve found another ticket that worked using Phone Number Validator using APILayer and was working very fine.If you can help me in this would really appreciate your help!
Kind Regards,
Thank you Patric for your help!
The next features will be amazing actually! Can’t wait to see it.I tested the MU Plugin you’ve provided, it might be not convenient because it appears right before the “beforeSend” moment.
It’s been processing for some time.The point is the “onClick” to Submit Button, not “beforeSend”. Not sure if it exists or not but I think you understand my issue here.