Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Discuss > Etcetera

dataform coverts to plain text?

User jlittlew
Date 5/23/2008 1:04 pm
Views 373
Rating 0    Rate [
|
]
Previous · Next
User Message
jlittlew

Hello-


First post here, hope I'm giving all the necessary information! I'm doing content management, working on an online application for jobs with my group. Using the dataform, we have people input their information, and paste in a copy of their resume. We export this data to a CSV file, then import into Access. Each record ends up in Access, then in Excel, then eventually into a mailmerge in Word that gets sent to the interviewer (not ideal, I know, we're working on it).


Everthing works fine except the resume, which ends up with lots of extra rando characters, all one paragraph (no line breaks) etc. Currently "Resume" is a Text Area. When we fliped the resume field to an HTML  Area, we got all the HTML code in there, so that didn't help.


One thing that has worked is listing all the entries -- in that new page, it shows mostly proper formatting (no rando charicters, line breaks, etc), and then you can select, copy and paste direct into Access. But that doesn't work very well when we get hundreds of applications weekly.


Any ideas to make this conversion? We want to end up with plain text but proper spacing, line breaks, etc -- we just want basic formatting with spaces between paragraphs, etc.


Currently running WebGUI 7.4.35

Form is here, for whatever reason: http://www.greencorps.org/apply

 

Thanks for the help in advance!

Jesse Littlewood

--- (Edited on 5/23/2008 1:04 pm [GMT-0500] by jlittlew) ---



Back to Top
Rate [
|
]
 
 
Klaus

(1) Why not use the HTML Area input field. Then convert the formatting you need. For example first convert the <p> and <br> tags to linebreak or whatever you need and in the second step remove all HTML tags. Use a simple regular expression.

(2) The rando characters you have when using a TextArea field might be caused from different character encodings, e.g. windows-1252 vs. utf-8, because of copy/paste from the user. You can convert text from one encoding to another.

You can convert the CSV file in both cases with a little script or perhaps do it within Access after the file is imported.

 

Klaus

--- (Edited on 24-May-2008 08:11 [GMT+0200] by Klaus) ---



Back to Top
Rate [
|
]
 
 
     Discuss > Etcetera




Re: OReilly by koen - Sat @ 06:44pm

Re: OReilly by JT - Sat @ 12:46pm

Re: Glad to be here by Mike_S - Sat @ 09:11am

Partner Marketing Goals? by koen - Sat @ 08:15am

Re: OReilly by koen - Sat @ 08:07am

Re: Glad to be here by koen - Sat @ 08:05am

Re: WebGUI Drinks by Albert2 - Sat @ 05:06am