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...
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"
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?
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?
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.