Note that there are some explanatory texts on larger screens.

plurals
  1. POjqgrid edit forms lose browser auto-fill functionality
    primarykey
    data
    text
    <p>I recently posted this question: <a href="https://stackoverflow.com/questions/12411836/jqgrid-edit-form-autocomplete-off-by-default-how-to-change-to-autocomplete-o">jqgrid edit form autocomplete=&quot;off&quot; by default, how to change to autocomplete=&quot;on&quot;</a> because I noticed that by default the jqGrid edit form gave all the input elements the <code>autocomplete="off"</code> attribute. I thought this was the reason why the web browser would not implement the usual auto-fill functionality for the jqGrid edit forms. After fixing this problem and making all the input elements have the <code>autocomplete="on"</code> attribute, still there is no auto-fill for the jqGrid edit forms. </p> <p>Does anyone know why the auto-fill won't work for these forms? The forms are submitted via ajax, so I am not sure if this is affecting it or not.</p> <p>Just to be clear, I am <strong>not</strong> talking about <a href="http://docs.jquery.com/UI/Autocomplete" rel="nofollow noreferrer">jQuery's <code>autocomplete()</code></a>. I am talking about a modern web browser's (Chrome, FF) built in form autofill functionality. </p> <p>For example please go to my jsfiddle example form <a href="http://jsfiddle.net/fKhVX/1/" rel="nofollow noreferrer">here</a>. You can fill out the form with anything you want then click <code>submit</code>. Refresh the page and fill it out again. Your browser should have <strong>remembered and suggested</strong> the values just filled in the first time. This is what happens for me.</p> <p>On the other hand, if you go to a jqGrid edit example <a href="http://www.trirand.com/blog/phpjqgrid/examples/editing_data/edit_dialog/default.php" rel="nofollow noreferrer">here</a>. Select a row and click the little edit button (looks like a pencil). You can't change the first field, but you can change the other fields. Put whatever you want in the other fields and click <code>submit</code>. Refresh the page a try again. What I am experiencing from many computers and both FF and Chrome is that this form does <strong>NOT remember</strong> any of the past entries.</p> <p>This is the problem, are you experiencing the same thing? If so, do you know if it is possible to make these jqGrid forms compatible with the browser's auto-fill functionality?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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