php changes for dynamic form field