• Resolved mrreddy

    (@mrreddy)


    Hi, i am trying to create a dashboard for users to submit data on a forminator form, while logged in as a unique user. The need to be able to view their submitted forms only. How do i pull out forms submitted based on the user that submitted them?

    PLEASE HELP!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @mrreddy

    I hope you’re well today!

    There’s currently no directly/out of the box to display submissions to users this way, though it’s something that is planned for future.

    One way to overcome this would be to use built-in integration with wpDataTables plugin which is capable of fetching submission data and presenting it on front-end in a customized way. You can find out more about it here:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#wpdatatables

    The plugin works fine with Forminator but I must honestly admit I’m not quite sure if filtering “by user” is available in free version.

    Alternative would be to use a custom code based on Forminator API to fetch submissions but that’s a bit more complex. I’m afraid it goes out of the scope of this support.

    However, you can use this custom code as a starting point if you feel like giving it a shot by yourself:

    https://gist.github.com/wpmudev-sls/b60b51a7dfd5830b89409c9bb3d643cd

    Kind regards,
    Adam

    Thread Starter mrreddy

    (@mrreddy)

    Thank you @wpmudev-support8 ill give these options a go.

    Do you know if Forminator stores the user ID or username of the logged in user when the form is submitted? If i can get this maybe i can manipulate it further.

    Kind Regards,
    MrReddy

    Hi @mrreddy

    It does, but only in case when this is a Register User form template. Apart from that, there is no other field that could grab those data in the fly.

    Kind Regards,
    Kris

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mrreddy ,

    Let me chime in. I’ve double-checked and it is possible to have a username of the logged-in user automatically added to the form.
    You can use an input field and set it to Hide in the Visibility tab so it won’t show up on the front end. After that in the Behavior enable Autofill in the Autofill section and then select Username for your text field:

    kind regards,
    Kasia

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @mrreddy ,

    We haven’t heard from you for some time now, so it looks like you don’t need our assistance anymore.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Display Form To Specific User’ is closed to new replies.