Using Export csv GF

desertdiana 31 Jul, 2013
Hi Greyhead,

A new question about Export csv GF. I want to set up an email to a person with a link to the download cvs form to database record submitted separately and not the whole list each time. How do I achieve this?

Thank you again and again.

Diana
GreyHead 01 Aug, 2013
Hi Diana,

If I understand correctly you want to send an email each time the form is submitted with a link to a file with the data for that record? I'm not sure I understand why you'd want to do this but it is probably possible if you use the record ID from the newly saved record and refer to that in the WHERE box of the CSV Export [GH] action.

Bob
desertdiana 02 Aug, 2013
Hi Greyhead,

I know, I don't think it is a good idea either but the person who the email goes too is not techie and is stressing out about it. She wants this as easy as can be for her.

So with that, can you tell me what to put in the where box exactly?

Thanks for your help again,

Diana
GreyHead 03 Aug, 2013
Hi Diana,

If you add a Debugger action temporarily you can see the name of the $form->data variable with the new record id in it.

Then you put `cf_id` = {xxx} in the WHERE box I think where xxx is the variable name.

Bob
This topic is locked and no more replies can be posted.