The 'required' condition is not working when I embed my forms