" onchange="fieldChanged('habitat');" /> </div> <div id="substrateDiv"> <?php echo defined('SUBSTRATELABEL') ? SUBSTRATELABEL : 'Substrate'; ?> <br/> <input type="text" name="substrate" tabindex="82" maxlength="500" value="<?php echo array_key_exists('substrate', $occArr) ? $occArr['substrate'] : ''; ?> " onchange="fieldChanged('substrate');" /> </div> <?php if (isset($QuickHostEntryIsActive) && $QuickHostEntryIsActive) { // Quick host field $quickHostArr = $occManager->getQuickHost($occId); ?> <div id="hostDiv"> <?php echo defined('HOSTLABEL') ? HOSTLABEL : 'Host'; ?> <br/> <input type="text" name="host" id="quickhost" tabindex="82" maxlength="500" value="<?php echo $quickHostArr ? $quickHostArr['verbatimsciname'] : ''; ?> " onchange="fieldChanged('host');" /> <input type="hidden" name="hostassocid" value="<?php echo $quickHostArr ? $quickHostArr['associd'] : ''; ?> " /> </div>