Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Pre-Populate "Preferred Name" text box from term id

Trish Whetzel whetzel at
Thu Sep 30 20:31:05 PDT 2010

The widget does not support populating a default value. If you would like to display an example for the user to type, below is an example:
<input type="text" value="Enter a term, e.g. Melanoma" id="find_resource" size="30" style="width: 240px;" class="greyed ac_input">


On Sep 30, 2010, at 4:00 PM, Bhandare, Aniket wrote:

> Hi Trish,
> Nigam pointed me to link for widgets documentation
> According to that, I wrote below code. E.g. Say I want to show "Race: West Indian" as default selection. Its id is "160531006" from view "2057". So I gave shortid="160531006" to pre-populate the textbox.
> <input type="text" name="c" class="bp_form_complete-2057-name" size="20"shortid="160531006"/>
> I have also tried setting shortid="" and uri="". Still it does not show me text box pre-populated with "Race: West Indian".
> Can you please tell me the exact way to achieve this?
> Thanks,
> -Aniket

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list