User Dictionary
Location and per user dictionaries
By default the user dictionary will be stored at ~/user-dictionary.txt (where ~/ means the web application root). However this should ideally be changed to give each user their own dictionary.
- In Javascript, call rapidSpell.setParameterValue('default', 'UserDictionaryFile', newPath) - where newPath is a string with the user dictionary path.
- To give each user their own dictionary (recommended) set the newPath based on the user's ID, eg. var newPath = "<%= currentUserObject.Id %>" (or similar).
- The 'default' argument means change this parameter for all text boxes, but it can instead be the textbox object (not id) that the parameter should apply to, see 'Parameters'.
Disabling 'Add'
- As above, set the dictionary path to an empty string; rapidSpell.setParameterValue('default', 'UserDictionaryFile', '');