Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Need help importing checkbox fields

Quote Reply
Need help importing checkbox fields
Anyone know how to import checkbox fields?

I've placed a \n after each checkbox value but they don't come in right.
the checkbox field content looks like this:
No Negative\nFlashes\nGrainy\nSlight Scratches\nSlight Dirt\nSoft

I took a close look at the storage of the data through mysqlman and there's a very subtle difference.

Here's a sample of how links stores the data:
<INPUT TYPE="text" NAME="*insert*_Notes" VALUE="No Negative<return character here>
Flashes<return character here>
Grainy<return character here>
Slight Scratches<return character here>
Slight Dirt<return character here>
Soft" SIZE="30" tabindex="30">

Here's what happened when I used \n during import

<INPUT TYPE="text" NAME="*insert*_Notes" VALUE="No Negative
<return character here>Flashes
<return character here>Grainy
<return character here>Slight Scratches
<return character here>Slight Dirt
<return character here>Soft" SIZE="30" tabindex="30">

Is there a different character I should use? I've also tried using the html break tag, as well as \r but they don't even come close. It looks like the system is looking for a return and then replaces it with a break tag for output.

Any ideas?

Peace.

Subject Author Views Date
Thread Need help importing checkbox fields klangan 1885 Feb 7, 2001, 2:19 AM
Post Re: Need help importing checkbox fields
klangan 1810 Feb 7, 2001, 8:52 AM
Thread Re: Need help importing checkbox fields
Alex 1808 Feb 7, 2001, 10:52 AM
Post Re: Need help importing checkbox fields
klangan 1813 Feb 7, 2001, 11:38 AM