Custom display for current user only

Hi

So far, I’ve built a series of forms that are connected by a unique user id. What I would like to do now, is give the ability to the user to edit their own data. For example, if the user has 3 entries added to form 2, I would like to have a display that shows the list of entries only for that user and then on clicking each one, it goes to a detail page that allows the user to update the selected entry. I was trying to achieve this with a custom display but could not see a place to filter on the current user only

Thanks

You can limit entries to the currently logged in user by adding a "where" option into your custom display. These options are found in the advanced section of your custom display editing page.

Your where option would look like: user id is equal to "logged in user" (See screenshot)

That being said, there may be an easier way to do what you are describing. There is a shortcode for showing a list of entries: http://formidablepro.com/knowledgebase/add-a-list-of-entries-to-a-page/

This shortcode will list the entries and when clicked it can take them to edit the entry.


Attachments:
Screen Shot 2012-10-18 at 11.38.20 AMScreen Shot 2012-10-18 at 11.38.20 AM

Thanks for that - it worked great. I used a custom display. Basically, my custom display shows the list of entries in the main form for that user and there is a url for each related form to allow them to edit each form.

Since each user, might have multiple entries in one form, I'm using these shortcodes in the edit page:

[frm-entry-links id=22]
[formidable id=22]

The problem I'm facing is that when they submit the form, I would like that they are sent back to the previous list page. Currently, it goes to the redirect url that is set up for when the form is completed the first time. Is there a way to have 2 re-directs? One on "creation" mode and one on "update" mode

Thanks

Please take a look at this related post and let us know if you still have questions.
http://formidablepro.com/help-desk/custom-display-edit-update-redirect/

Excellent, this is what I needed. So far, I've been able to do all the functions of my application portal. There is one thing left that I have not found in the documentation. Basically, in a custom display, I've added the [editlink] shortcode to give the ability to admins to update the status of the application. However, that link goes to the formidable pro management screen for editing the related entry. It would be better if I can keep this view in my own interface in order to limit the number of fields I'd like this user to be able to edit. Is it possible to make a custom display with editable fields? If I use the form shortcode with the form in update mode, it will show all fields.

Then you'll need to use the suggestion in the linked post to insert the form on a page and point the edit link there using the post_id parameter.

This is excellent. Now that I have my form editable in the front end for admins, I would like to show some hidden fields so that the agent can confirm the entry. In the list of entries page, I was also wondering if it's possible to provide a filter (like a drop-down) on certain fields so the agent can filter the list.

Depending on what you're after, you can either follow the "code for this page" at the bottom of this demo:
http://demo.formidablepro.com/view-bugs/

Or create an advanced search form:
http://formidablepro.com/knowledgebase/advanced-search-forms/

Thanks for all those great suggestions. I'm getting there. One of key remaining tasks is to provide the ability to edit the actual field outside of the standard form view. For example, either in the list of items (right now I'm using the google table), is there a way to show one column as editable so that the text can be changed right there or if its a limited choice field, show the drop-down for example. Or in the detail view, to give the ability to show hidden fields and make them non-editable but make some other normal fields editable.

This is the only built-in way to change one field.
http://formidablepro.com/knowledgebase/insert-a-link-to-change-the-value-of-a-single-field/

Can you please detail a bit more how I would use this? Would I use this directly in a page or in a custom display? Would I need to do some custom programming to grab the "new value" because that would be input by the user?

Inside a custom display you would use [ frm-entry-update-field id=[id] field_id=26 value="new value"]. This isn't built to allow for a text field to change the value. This shortcode returns a link like this:
<a href='javascript:frmUpdateField([id],26,"new value","Value was changed","http://yoursite.com/index.php?plugin=formidable")' id='frm_update_field_[id]_26' class='frm_update_field_link'>Click to change</a>

You could try this in your custom display (switch out 26 with your field id):

<input type="text" value="[26]" id="[id]val" />
<a href='javascript:frmUpdateField([id],26,jQuery('#[id]val').val(),"Value was changed","http://yoursite.com/index.php?plugin=formidable")' id='frm_update_field_[id]_26' class='frm_update_field_link'>Click to change</a>

Topic closed.