You are viewing limited content. For full access, please sign in.

Question

Question

Is there a way to set current user to "Anonymous User"

asked on February 16, 2022

We are working on a survey form; while we do have a public forms server that allows anonymous submissions of forms, we would like have it so that even if a person is logged on who submitted it is not captured and that on the monitoring tab the initiator(started  by) is listed as "Anonymous User".  Is there a way to do this? 

0 0

Answer

SELECTED ANSWER
replied on February 16, 2022

We understand the use case, but it is not doable currently as the user's information is retrieved in the backend when process the submission. 

2 0
replied on February 17, 2022

Thank you for letting us know. I hope in the future there is a way to handle this use case. 

0 0
replied on February 17, 2022

You could add an HTML field to your form and display something like:

"You are logged in as {/_currentuser_display}. If you would like to submit this form anonymously, please log out first."

You could customize its look to make it stand out to the user. For ex,

2 0
replied on February 17, 2022

Adding to what Miruna said, if you have a public instance of Forms that does not have automatic login enabled, you could give them a link to redirect to the public instance if they want to submit anonymously.

Usually when I want a form to be anonymous, I use the link from our DMZ instance. Although it is possible to log in from the DMZ instance, it does not have automatic login enabled and when they open a Public form it doesn't prompt them to log in.

1 0
replied on February 17, 2022

Currently we have two Custom HTMLs  that hide/show based on if the user is anonymous or not. Using javascript I updated where it says "NAME HERE" to the current user. I also update the links based on a field that they may or may not pass in, and that they can update on the form.  

 

0 0
replied on February 17, 2022 Show version history

@████████ You probably don't need JavaScript to populate the name unless you need to do some formatting or something. Current User is one of the few dataset variables that is populated as soon as the starting form loads so you can use it in your custom HTML.

For example,

HTML

You are logged in as <b>{/_currentuser_display}</b>

Designer

Form

 

1 0
replied on February 17, 2022 Show version history

@████████ I think this scenario actually brings up a good use case for the option to set a form to "anonymous only" in the process options.

We recently had a job satisfaction survey sent out by management and they didn't do in it Forms specifically because it had to be anonymous and even having the IP address could technically be enough to identify the user.

Maybe if there was a separate option/checkbox for "anonymous submissions" in the process options; that way we could tell Forms not to track the user's identifying information (account, IP, etc.) even if the form is set to restricted.

4 0
replied on February 17, 2022

Thanks Jason for the idea, I will add it to our feature requests list.

5 0

Replies

replied on February 16, 2022

To clarify the original question:

We want to give the user the option of submitting the form anonymously. We know we can give them the link to submit via the formsportal, but wondered if there is any way to add a "Submit anonymously" checkbox that would trigger some JS to set "current user" to be "Anonymous User." 

So... anonymous submission even though they are currently logged into Forms.

1 0
replied on September 8, 2022

I am trying to do the opposite, login as a user and submit a public form without being marked as Anonymous. No matter how I start the form, I am marked as an anonymous user.

I have tried 3 ways, I login and click the the Play button at the top fo the process for a test run.

Visiting the public site from the same browser I am logged in with

Choosing Start Process and choosing the public form

In all cases I am always Anonymous.

I don't want to be anonymous though in this case, I am logged in and want it to know who I am even though the form can be submitted anonymously.

0 0
replied on September 12, 2022

Hi Chad,

     You are using Cloud Forms right?

0 0
replied on September 13, 2022

Yes and I had to remove the public setting to get it to recognize my login.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.