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

Question

Question

Validate Submitter Against Input Data

asked on May 28, 2015

Hi All,

 

In forms, we would like to do a lookup on the user that submitted a form after the form has been submitted.

 

I know in Workflow you can use the %(Initiator) variable to retrieve the user that fired the Workflow. Is there a similar method for getting the name of the user that was authenticated when submitting the form?

 

The problem we are trying to resolve is:

- The form is loaded in an i-frame on a third party website

- The form is pre-populated based on the user the logged into the third party site.

- We need the pre-populated data to be immutable/read only.

 

Currently our thinking is that we have validation happen after the form submission to check that the values belong to the correct user and if they do not then we reject the form.

We need the system to be robust enough that it will also cover a malicious user who attempts post backs directly to forms.

 

Thanks for your time reading our question.


 

0 0

Answer

SELECTED ANSWER
replied on May 29, 2015

Forms has the same type of initiator information available.

Create a single line field on your form. In the configuration window for the field, scroll down to the Default Value setting. Use the arrow on the right side to view variables available to you. Under Process Variables > Instance > Initiator, you can select their user name, display name, or email address.

Based on the userid, you can have Forms do a lookup in an external database to store the information you need about the user in the appropriate fields. You can designate those fields as readonly when configuring the fields, or you can use javascript to make them readonly.

0 0

Replies

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

Sign in to reply to this post.