product form adjusts for custom elements