Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Special char problem with macs


This topic is 7074 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Some of our clients vendors are entering information in textarea boxes which reside inside a form.


<textarea name="t_ProductDesc" rows="12" cols="92" wrap="virtual" color="#003300">

            		<xsl:value-of select="$default-record/fmrs:field[@name ='t_ProductDesc']/fmrs:data"/>

</textarea>

These vendors are entering data using Macs and our clients are viewing the information in Filemaker on PCs. When the vendors enter a "return" and submit the form it shows up as a square in the field on a PC when you look at it in Filemaker.

I have already tried wrapping the above in a fmxslt:url_decode but because it is in a textbox it does not work like it would if it were in a straight input statement. Any help with this issue would be appreciated.

Thanks,

Nick

tech_stid_e.txt

Posted

Looks like classic Mac/Unix/DOS linebreak problem. Can probably solved with some JavaScript, that filters/transforms the carriage returns before the form is submitted.

Do a Google search on "textarea javascript carriage return".

See also this thread: http://www.fmforums.com/threads/showflat.php?Cat=0&Number=166336&an=0&page=0#166336

This topic is 7074 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.