1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Profile information recorded in form

Profile information recorded in form

6 posts, 2 answered
  1. Amanda Shafer
    Amanda Shafer avatar
    198 posts
    Registered:
    12 Oct 2012
    18 Mar 2011
    Link to this post
    Hi,
    I was wondering if the included forms module records information from the users profile if logged in? I noticed that it does record IP address, but is there a way to get it to record the user name?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    18 Mar 2011
    Link to this post
    Hi Amanda,

    You can create a custom control that inherits from Telerik.Sitefinity.Modules.Forms.Web.UI.FormsControl and override OnBeforeFormSave where you can inject custom logic to the form.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Answered
  3. Amanda Shafer
    Amanda Shafer avatar
    198 posts
    Registered:
    12 Oct 2012
    21 Mar 2011
    Link to this post
    Hi Ivan,

    Thank you very much for the response. Unfortunately, not being a programmer, I won't be able to implement this right away.

    It might be something to consider for future upgrades. It would make sense to be able to collect information from the logged in user and associate it with that user.

    Thanks!
  4. Kalina
    Kalina avatar
    176 posts
    Registered:
    27 Oct 2016
    28 Mar 2011
    Link to this post
    Hi Amanda,

    What you want is to be able to created forms containing fields which are filled with data from the user profiles.
    So for example, the form can contain person name and IP, which if the user is logged in, will be prefilled automatically using the details of his profile.
    Please, confirm that this is what you want to achieve.
    Can you provide us with other scenarios that you want to cover?

    This will help us identify the best solution to your problem.

    Thanks in advance for your cooperation.

    Best wishes,
    Kalina
    the Telerik team
  5. Amanda Shafer
    Amanda Shafer avatar
    198 posts
    Registered:
    12 Oct 2012
    28 Mar 2011
    Link to this post
    Hello Kalina,
    Yes, this is exactly the functionality that I would be looking for.

    For example, the members of our association log into the website to view our "members only" page. There we may have a form that functions as a survey for the members. We would like to know which member filled out that form without them having to fill in their name or company name.

    Eventually, we would like to add their member ID to the profile so that we could capture that data as well.
  6. Kalina
    Kalina avatar
    176 posts
    Registered:
    27 Oct 2016
    31 Mar 2011
    Link to this post
    Hi Amanda,
    We are planning to  introduce a set of new widgets to Forms module in the next release (due in July).
    I added this request to the task log.

    This implementation has been requested by other customers and we will implement it.

    All the best,
    Kalina
    the Telerik team
    Answered
6 posts, 2 answered