form insert before now works with all attributes