Remove form lock

By default, Cook is preventing forms from accidental unwished navigation.

A very common example is when the user is pressing backspace for deleting a character. If no input has the focus at that moment, then the browser will return back in the navigation history, loosing all your current inserted datas.

Here is the explaination for avoiding this feature.

Open the template file

views/myview/tmpl/myitem.php

Comment the following line

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started