⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Don't "clear" fields when a record is added.



dontako
  • profile picture
  • Member

Posted 18 December 2012 - 15:06 PM

My client needs to add many records and the form has 4 dependents combobox, and must select each time he adds a new record.
Is there any way to keep the latest data in the form, when you added the data?

Thanks

victor
  • profile picture
  • Member

Posted 18 December 2012 - 19:55 PM

delete

dontako
  • profile picture
  • Member

Posted 19 December 2012 - 13:52 PM

[quote name='victor' timestamp='1355860558' post='4795']
delete
[/quote]

:mellow: ?

victor
  • profile picture
  • Member

Posted 19 December 2012 - 13:55 PM

My post have been deleted

victor
  • profile picture
  • Member

Posted 19 December 2012 - 14:02 PM

What theme do you use?

dontako
  • profile picture
  • Member

Posted 19 December 2012 - 21:25 PM

default, I guess...

victor
  • profile picture
  • Member

Posted 19 December 2012 - 21:28 PM

themes/flexigrid/js/flexigrid-add.js
You can modify the "clearForm" function as you like

victor
  • profile picture
  • Member

Posted 19 December 2012 - 21:32 PM

if(window.location.href==".....")
{
}
else
{

}