• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

Sam West

Exporting a CSV of entries by a user to Google Spreadsheets ??

Hi I have a site which allows a logged in user to download a CSV file of all entries created under that user from the front end of my site (when a user is logged in). I use the following code to allow a user to download their CSV file of all entries: .../wp-admin/admin-ajax.php?frm_action=0&action=frm_entries_csv&form=5&s=1&fid=user_id It works well. (using "user_id" allows for generic download of any current logged in user) I also want to allow users though, (who have a Google DOCS account) to be able to automatically import their CSV file into Google Spreadsheets. I've tried the following code (which a user would add to a blank spreadsheet in the first cell on a Google spreadsheet): =importData(".../wp-admin/admin-ajax.php?frm_action=0&action=frm_entries_csv&form=5&s=1&fid=user_id)”) Unfortunately, Google spreadsheets tries to import the user's CSV Formidable file - but then returns the error. "Does not have permission" I assume the above code would need log in information as well...? Because different logged in users may want to import their CSV files into Google spreadsheets - therefore the permission/login code would need to be generic - perhaps "current_user" ????Or will it not work at all...? Any help. most appreciated...

Copy the value of a field to another field with a link click

Hi, Can anyone help with some suggested code for the following: I'm trying to help users complete a form of mine by speeding up the process. I want users to be able to copy the value of a field into another field with a click of a link. So for example:     FIELD 1 -  "value of field 1"  >   click to copy  >  FIELD 2 -  "value of field 1"

Is there a way to import CSV files into Formidable from front end by user?

I'm wondering if it's at all possible to import a user's CSV file of entries into Formidable from front end of WordPress?

Exporting a CSV of entries by a user

I've managed to create a simple link which will allow a logged-in user to download their own entries of a form in a csv format. ./wp-admin/admin-ajax.php ?frm_action=0 &action=frm_entries_csv &form=X &s=[user_id] &fid=user_id (X being the ID of the form. I've also had to strip the link code from the above example and add spaces as this site thinks it's spam!) This works really well, but it generates a CSV with columns for every field in the form - and I'd really like to be able to filter out some of the fields which include such things as -  ip/user_id/timestamp/key and a few of my own created fields which don't need to be in the user exported CSV etc... I've tried adding: add_filter('field_id=86,70,76,77,87,83’) - but that doesn't do anything... Can anyone assist?

Is there a way to filter the display of uploaded files?

I currently have a form which allows a user to upload an audio file as part of an entry. I am able to display all entries by a user on a view/page, including those entries that contain an audio file, - but I was hoping to only display just those entries that contain an upload audio file. Is this possible? I use [audioplayer file="[X]"] to display audio files... Any help, most appreciated.

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC