I need to create a simple runtime application that allows (non-technical) users to create customized HTML template(s) on their own PC for uploading to their own websites.
Basically the user will click through a couple of screens inputing data into fields (their name and contact info, etc). FMP then needs to output the data fields within the context of an HTML-type file template (it's HTML, but it's not an HTML page- it will be uploaded to a content management product so the headers and end tags are removed).
Ideally I would like it so all the end user has to do is a simple "select all" then "cut and paste" from a screen within the runtime application because they aren't sophisticated enough to do anything else. Having FMP output to a txt file is the other alternative.
Unfortuantely I've got the database created but I can't get it to output the end file. Originally I created it so the "output page" was a seperate layout using mail merge. It LOOKS perfect, but I can't do a select all for the cut and paste. It also prints to a printer perfect, but I can't get it to output as a file.
All of my Export attempts create a file of the fields (and not the mail merge layout screen). Even when it comes close the Export adds or reformats things just enough that it damages the HTML file and it doesn't upload correctly. I've been able to print the layout to Acrobat (using Acrobat Pro, not the PDF export feature), but Acrobat isn't an option on my end user's computers (and PDF exporting is turned off for the run time products).
I would prefer not to have to install a "print to text file" print driver which I have found online (but haven't tried yet). Installing anything on the end users PC's makes this problematic. I've just begun experimenting with setting up the HTML template(s) as fields within their own table and using mail merge that way- then having FMP e-mail the file to the users. However it looks to me like all of the "<" and ">" of the html template will keep FMP from merging properly. Troubleshooting this has become just time consuming enough I thought I would stop and ask for help before I dedicated more time to it.
Does anyone have any suggestions or fixes? Is this just impossible to get FMP to do? I'm using the 30 day demo of 9 (I own 8.5) and if it works I'll be upgrading to 9 Advanced to make the runtime.