<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Good Morning support@,</div>
<div>I’ve been using the Autocomplete widget [0] taken from the form_complete.js [1] code.</div>
<div>When searching across ‘<span class="pl-s">bp_form_complete-all-name</span>’ BioPortal ontologies, I notice a bug when the autocomplete widget provides autocomplete results.</div>
<div>The bug appears to display a mixture of HTML markup mixed into the ’name’ entity.</div>
<div>I’ve attached a screenshot of this for your to see what I mean.</div>
<div>Please also see the HTML below which shows how I am using the widget</div>
<div><br>
</div>
<div>
<table class="highlight tab-size js-file-line-container" data-tab-size="8">
<tbody>
<tr>
<td id="LC1440" class="blob-code blob-code-inner js-file-line">thefacetview <span class="pl-k">
+=</span> <span class="pl-s"><span class="pl-pds">'</span><input type="text" class="facetview_freetext bp_form_complete-all-name span4" style="display:inline-block; margin:0 0 21px 0; background:<span class="pl-pds">'</span></span>
<span class="pl-k">+</span> options.searchbox_shade <span class="pl-k">+</span> <span class="pl-s">
<span class="pl-pds">'</span>;" name="q" \</span></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8">
<tbody>
<tr>
</tr>
<tr>
<td id="LC1441" class="blob-code blob-code-inner js-file-line"><span class="pl-s">value="" placeholder="search term" data-bp_include_definitions="true" data-bp_objecttypes="class,property,individual" /><span class="pl-pds">'</span></span>;</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1442" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ( options.sharesave_link ) {</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1443" class="blob-code blob-code-inner js-file-line">thefacetview <span class="pl-k">
+=</span> <span class="pl-s"><span class="pl-pds">'</span><a class="btn facetview_sharesave" title="share or save this search" style="margin:0 0 21px 5px;" href=""><i class="icon-share-alt"></i></a><span class="pl-pds">'</span></span>;</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1444" class="blob-code blob-code-inner js-file-line">thefacetview <span class="pl-k">
+=</span> <span class="pl-s"><span class="pl-pds">'</span><div class="facetview_sharesavebox alert alert-info" style="display:none;"> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1445" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><button type="button" class="facetview_sharesave close">×</button> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1446" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><input type="hidden" id="q_bioportal_preferred_name"> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1447" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><input type="hidden" id="q_bioportal_concept_id"> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1448" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><input type="hidden" id="q_bioportal_ontology_id"> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1449" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><input type="hidden" id="q_bioportal_full_id"> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1450" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><p>Share or save this search:</p> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1451" class="blob-code blob-code-inner js-file-line"><span class="pl-s"><textarea class="facetview_sharesaveurl" style="width:100%;height:100px;">http://<span class="pl-pds">'</span></span>
<span class="pl-k">+</span> <span class="pl-c1">window</span>.<span class="pl-c1">location</span>.<span class="pl-c1">host</span>
<span class="pl-k">+</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1452" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">window</span>.<span class="pl-c1">location</span>.<span class="pl-c1">pathname</span>
<span class="pl-k">+</span> <span class="pl-s"><span class="pl-pds">'</span>?source=<span class="pl-pds">'</span></span>
<span class="pl-k">+</span> options.querystring <span class="pl-k">+</span> <span class="pl-s">
<span class="pl-pds">'</span></textarea> \</span></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="LC1453" class="blob-code blob-code-inner js-file-line"><span class="pl-s"></div><span class="pl-pds">'</span></span>;</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8">
<tbody>
<tr>
<td id="LC1454" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
</tbody>
</table>
</div>
<div><br>
</div>
<div>Any ideas if this is incorrect usage of the widget on my side or if it is a bug server side?</div>
<div>Thanks in advance.</div>
<div>Lewis</div>
<div><br>
</div>
<div>[0] <a href="http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form">http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form</a></div>
<div>[1] http://bioportal.bioontology.org/javascripts/widgets/form_complete.js</div>
<div><br>
</div>
<div>
<div>
<div style="font-family: Calibri;"><font face="Courier">Dr. Lewis John McGibbney Ph.D., </font><span style="font-family: Courier;">B.Sc.,</span><span style="font-family: Courier;"> MAGU</span></div>
<div style="font-family: Calibri;"><font face="Courier">Engineering Applications Software Engineer Level 2</font></div>
<div style="font-family: Calibri;"><font face="Courier">Computer Science for Data Intensive Systems Group 398M</font></div>
<div style="font-family: Calibri;"><font face="Courier">Jet Propulsion Laboratory</font></div>
<div style="font-family: Calibri;"><font face="Courier">California Institute of Technology </font></div>
<div style="font-family: Calibri;"><font face="Courier">4800 Oak Grove Drive</font></div>
<div style="font-family: Calibri;"><font face="Courier">Pasadena, California 91109-8099</font></div>
<div style="font-family: Calibri;"><font face="Courier">Mail Stop : 158-</font><span style="font-family: Courier;">256C</span></div>
<div style="font-family: Calibri;"><font face="Courier">Tel:  (+1) (818)-393-7402</font></div>
<div style="font-family: Calibri;"><font face="Courier">Cell: (+1) (626)-487-3476</font></div>
<div style="font-family: Calibri;"><font face="Courier">Fax:  (+1) (818)-393-1190</font></div>
<div style="font-family: Calibri;"><font face="Courier">Email: lewis.j.mcgibbney@jpl.nasa.gov</font></div>
<div style="font-family: Calibri;"><font face="Courier"><br>
</font></div>
<div style="font-family: Calibri;">           <img src="cid:3F39E8BF-EA51-4587-A238-4733E150D467" type="image/png"></div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"><span style="font-family: Courier;"><br>
</span></div>
<div class="fig" id="outputFigDisplay"><span style="font-family: Courier;"> Dare Mighty Things</span></div>
</div>
</div>
</div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"></div>
</div>
</div>
<div>
<div id="maincontent">
<div class="fig" id="outputFigDisplay"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>