Brian Dunning's FileMaker Custom Functions

CRURLEncoded

For adding a newline when using openurl script step to send emails using the mailto: url handler protocol

  Be the first to rate this function Log in to vote

Joshua Paul   Joshua Paul - Show more from this author
Neo Code
http://www.neocode.com

Share on Facebook Share on Twitter

  Sample input:
CRURLEncoded()
  Sample output:
"%0D%0A%0D%0A"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

instead of this:
"mailto:" & Table::Email & "?subject=" & GetAsURLEncoded ("Some subject") &
"&body="
& GetAsURLEncoded ( "First line of body" ) & "%0D%0A%0D%0A"
& GetAsURLEncoded ( "Second line of body" ) & "%0D%0A%0D%0A"

you get this
instead of this:
"mailto:" & Table::Email & "?subject=" & GetAsURLEncoded ("Some subject") &
"&body="
& GetAsURLEncoded ( "First line of body" ) & CRURLEncoded()
& GetAsURLEncoded ( "Second line of body" ) & CRURLEncoded()

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: