Note that there are some explanatory texts on larger screens.

plurals
  1. POphp included form acting strangley with Firefox
    text
    copied!<p>For some reason when I call a function to create a form, the drop down menus aren't sticky and the browser forces users to click into the first text field and tab through the rest. It won't let them mouse through the fields. This is only happening in FF, not IE or Chrome. The forms I'm including are just basic html and only php pages I include are doing this.</p> <p>Here is one function:</p> <pre><code>function addNoteUI($keyword) { echo "&lt;div id='search_result_right'&gt;"; echo "&lt;center&gt;&lt;div id='enter_note_header'&gt;Assign a Salesperson&lt;/div&gt;&lt;/center&gt;&lt;p&gt;"; echo "&lt;form id='response' action='notes_add.php' method='post'&gt;"; echo "&lt;label for='mod_num'&gt;MOD Initials: &lt;label&gt;"; echo "&lt;input type='text' name='mod_num' size='2' maxlength='4'&gt;&lt;p&gt;"; echo "&lt;label for='sales_num'&gt;Assigned to Sales Person: &lt;label&gt;"; echo "&lt;input type='text' name='sales_num' size='2' maxlength='4'&gt;&lt;p&gt;"; echo "&lt;input type='hidden' name='question_num' value='$keyword'&gt;"; echo "&lt;label for='response'&gt;Note&lt;/label&gt;&lt;br&gt;"; echo "&lt;textarea name='response' cols='30' rows='7 maxlength='510'&gt;&lt;/textarea&gt;&lt;p&gt;"; echo "&lt;input type='submit' value='Assign'&gt;"; echo "&lt;/form&gt;"; echo "&lt;/div&gt;"; </code></pre> <p>Here is the other:</p> <pre><code>function changeDept() { include 'ask_search.php'; echo "&lt;div id='search_result'&gt;"; echo "&lt;form action='change_dept.php' method='post'&gt;"; echo "&lt;label for='current_num'&gt;Enter the Question Number to be Changed: &lt;label&gt;"; echo "&lt;input type='text' name='current_num' size='4'&gt;&lt;p&gt;"; echo "&lt;label for='store'&gt;Select New Store/Department: &lt;label&gt;"; echo "&lt;select name='store'&gt;"; echo "&lt;option&gt;Please Select&lt;/option&gt;"; echo "&lt;option value='Albany'&gt;Sales (Albany Store)&lt;/option&gt;"; echo "&lt;option value='Saratoga'&gt;Sales (Saratoga Store)&lt;/option&gt;"; echo "&lt;option value='Web Sales'&gt;Sales (TaftFurniture.com)&lt;/option&gt;"; echo "&lt;option value='Financing'&gt;Financing&lt;/option&gt;"; echo "&lt;option value='Customer Service'&gt;Customer Service&lt;/option&gt;"; echo "&lt;option value='Delivery'&gt;Delivery&lt;/option&gt;"; echo "&lt;option value='HR'&gt;Human Resources&lt;/option&gt;"; echo "&lt;option value='Web Contact'&gt;Website Comment&lt;/option&gt;"; echo "&lt;input type='submit' value='Change' id='dropdown'&gt;"; echo "&lt;/select&gt;&lt;/form&gt;&lt;/div&gt;"; </code></pre> <p>} Thanks in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload