Hi,
I've got a registration form with field type user, that allows picking of all registered users.
I want to restrict picking of user exclusively to current logged-in user, who is completing the form to avoid registration for third user who isn't involved.
Can't omit user (as I know it is set per default per entry), cause of need to show picked user Name in a table view after registration.
Is there a possibility to restrict user to entry owner?
Thanks
This sounds like a form is built with ConfiForms, but there is no mentioning of it... could you please clarify what plugin do you use to built your form?
Alex
Hi Alex,
yes sorry
I've forgotten that. It's build with confiForms
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, will add a tag then
As for the current user - this is handled for you by ConfiForms automatically in a "createdBy" field and in your TableView just put a ConfiForms Field macro with a field name set to createdBy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried this already by using createdBy as rule to apply on user field, but it always says it doen't fits rule.
Doing it your way there's no need to define a createdBy field in the form? Right? I can delete user ConfiForms Field Definition and just add a ConfiForms Field createdBy to TableView?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are really overcomplicating it - it is all done for you. No need for rules, no need for extra field definitions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok I'll try that.
Many thanks for your help!
It works as expected. THANKS!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.