Page 1 of 1

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

Posted: Fri Jan 02, 2009 12:15 pm
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.

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

Posted: Sat Jun 06, 2009 12:18 am
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