XModPro

jquery script in add/edit form

Mark Guercio Mark Guercio asked Mar 23, 2016
Active Mar 23 · Viewed 2813 times
<p>I've found a jquery script that would be useful to use in an ADD form.&nbsp; (<a href="http://loopj.com/jquery-tokeninput/">http://loopj.com/jquery-tokeninput/</a> ) <p><br>The script basically tokenizes a SELECT form element.&nbsp; </p><p>I see and understand how this could be used in an ADD form.</p><p>The data&nbsp;would stored in a field as "1,2,3,4,5" which represents id's&nbsp;from a lookup table.</p><p>The database has been hyper normalized. It would be difficult to change the schema.</p><p>My question is.. how would I get the data populated into the tokenized select form element when an EDIT form loads?&nbsp;&nbsp;I don't think&nbsp;using the&nbsp;field name&nbsp;like normal&nbsp;will populate the edit form field as normally would be done in an XMP edit form.</p><p>Has any done this successfully before?<br><br>Best,</p><p>Mark</p>

1 Answer

Loading answers...