Hi,
I am suing reg_with_pic module to get the user photo while registration. But it has one bug. The step to produce bug is,

1. Create a new registration with UserName1 and EmailAddress1, complete the process
2. Create another new registration with UserName1 and EmailAddress1.
3. Click browse and upload the photo
4. Submit the form, system gives an error that UserName1 and EmailAddress1 already exists.
5. Username 1 and EmailAddress1 are there in respective textbox.
5. The file name texbox is cleared

How can i retain the filename?

Comments

dheeraj.dagliya’s picture

file name is read only field. you cannot retain filename as assignment is not allowed on readonly field.