toph8482
11-14-2009, 01:43 PM
Hello, new to CF, looking to solve a text entry problem. I'm no code head, more the PM, so please excuse my ignorance. Building in Safari Web Kit in a Cocoa wrapper. Any suggestions on solution is greatly appreciated.
I need a single large text entry field that loads with a pre-defined template. The template anchors (AJAX possibly) move in-line with the text entry, but are not editable by the user. The entire contents of the text field, including the template anchors will auto-save locally. On user submit, the server save uses the anchors to "parse" the data into separate tables. In the example below, all text between anchor 1 and anchor 2 in first table, all text between anchor 2 and anchor 3 in another table, etc.
Normal keyword text parsing is not reliable enough for this application. Also I have explored simply using multiple text entry fields , but this is an undesirable UI. Any ideas appreciated!
Example:
WORD: (anchor) text text text
text
text text
SENTENCE: (anchor) text
text
text
text
USAGE: (anchor) text text
text
text text
I need a single large text entry field that loads with a pre-defined template. The template anchors (AJAX possibly) move in-line with the text entry, but are not editable by the user. The entire contents of the text field, including the template anchors will auto-save locally. On user submit, the server save uses the anchors to "parse" the data into separate tables. In the example below, all text between anchor 1 and anchor 2 in first table, all text between anchor 2 and anchor 3 in another table, etc.
Normal keyword text parsing is not reliable enough for this application. Also I have explored simply using multiple text entry fields , but this is an undesirable UI. Any ideas appreciated!
Example:
WORD: (anchor) text text text
text
text text
SENTENCE: (anchor) text
text
text
text
USAGE: (anchor) text text
text
text text