Additional Info & Notes stripping returns

Notes on the new SeedCode Complete template for FileMaker 13
Posts: 72
Joined: Mon Feb 04, 2013 11:54 am
PostPosted: Sat Dec 27, 2014 10:31 pm
After entering text in SC13 notes the returns are stripped and all lines run together. Not sure is this is related to FM13 or Mac OSX. Have not tested on Windows yet.

Here's a sample of two separate lines concatenated into one:

notes.png
notes.png (14.82 KiB) Viewed 12720 times
Posts: 35
Joined: Tue Nov 25, 2008 11:49 am
PostPosted: Sat Jan 24, 2015 7:33 am
I'm seeing the same issue. Has this been fixed?
Posts: 72
Joined: Mon Feb 04, 2013 11:54 am
PostPosted: Sun Jan 25, 2015 12:59 am
I don't think John or Jeff has seen this. I'm also not sure it's a seedcode issue though I haven't taken the time test on other solutions or a test solution.

Let me know if you find out anything. -Ken
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Sun Jan 25, 2015 5:54 am
There's a custom function called SeedCode_CleanText() in the SeedCodeModel file that's used in the auto-entry calc in the "Note" field in the "Notes" table. It removes any text formatting, leading or trailing spaces and carriage returns. You can edit or disable the auto-enter calc for that field, or if you have FM Advanced, modify that custom function to suit your needs. I think instead of stripping carriage returns, I would replace them with a space, or an ellipsis ("..."). HTH -Jeff
Posts: 72
Joined: Mon Feb 04, 2013 11:54 am
PostPosted: Sun Jan 25, 2015 8:20 pm
Thanks Jeff. I will make the change immediately to fix what my users see as a bug. I thought it was a Filemaker bug but hadn't gotten around to look at the code behind the notes trigger.

I'm sure others will find this helpful as well.

Thanks. Ken

Still the best FM solution I've ever seen!
Posts: 72
Joined: Mon Feb 04, 2013 11:54 am
PostPosted: Sun Jan 25, 2015 9:36 pm
Speaking of Notes, I noticed that pressing enter for a new line creates a blank line and then the new line. The cursor remains on the blank line while typing but the text shows up on the line below.

Not sure if this is a bug or intentional formatting.

1.png
1.png (24.12 KiB) Viewed 12609 times


To get rid of the extra blank line I changed the "Above" line spacing value from 1 to 0 to make it work the way I wanted.

3.png
3.png (12.93 KiB) Viewed 12609 times


Ken
SeedCode Staff
SeedCode Staff
Posts: 475
Joined: Wed Jan 02, 2013 11:47 am
PostPosted: Mon Jan 26, 2015 7:32 am
Good catch, Ken. That setting is used in some Web Direct styles and should not be in that notes field. We'll fix it in the next build.

Return to SeedCode Complete 13

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: