How to extract a variable from a form and write a text file with variable name

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rhys
Forum Members
Forum Members
Posts: 40
Joined: Thu Nov 24, 2005 4:16 pm

How to extract a variable from a form and write a text file with variable name

Post by rhys »

Hello All
I'm using formbuilder to make an events registration form. I have various events in calendar items, with a button at the foot of each to 'register for this event'. When the user clicks the register link a form builder form appears with the top field pre-populated witht the event title (the variable passed from the link). So far so good. Here's the link [{cms_module module='FormBuilder' form='events' value_fld72='conference'}]

Now I need to be able to write the form data to a txt file with the passed variable as the filename, so that I'd end up with txt files called conference.txt, party.txt, eventname.txt etc. I tried the fb 'write results to a flat file' with $(eventtitle).txt as the filename, but that just gives a file called _txt.txt.

I think i may need an UDT to extract the variable, (which I can call using fb) but if so, how does it work?

Any help would be much appreciated.
DonnaNJ
Forum Members
Forum Members
Posts: 40
Joined: Mon Nov 19, 2007 6:08 pm

Re: How to extract a variable from a form and write a text file with variable na

Post by DonnaNJ »

Did you ever get this working ?

I am looking for event registration mod too - but there doesn't seem to be any

thanks

Donna
Post Reply

Return to “Modules/Add-Ons”