edit form attribute