User Registration Documentation
This add-on helps you to upload the files to your site when registering to your site. It is mostly useful when you provide your users to upload some of the documents to your site while registering.
Once, you have completed the above-mentioned task of installing and activating the plugin, now let’s move ahead on setting up this add-on for your site.
First of all, what you see is an extra tab of File Uploads when you visit User Registration -> Settings section after you have successfully installed this plugin added to your site. You can see the same as in the image below:
As in the above screenshot, it is the default options of this add-on. Here, you can see that you have two tabs inside this too, namely: Upload Settings and Uploaded Data. First of all, let’s discuss about what options inside the Upload Settings reside.
In this Upload Settings option, you have two options which are described below for:
In the Uploaded Data option, there you can see only the option of Select registration form, which allows you to download the attached files of your users in zip format while they signed up for your site or updated their attached files.
Now, knowing about the options available in this add-on, let’s move ahead and add this add-on to your registration form.
Here, what you have to do is, you need to create a new registration form or edit the required registration form for your site. So, while you are on the registration form creation or editing stage, you will notice that you have got one extra field named as File under the Extra Fields section.
Here, you just need to drag and drop the field provided via this File Upload add-on for your site in the required field for user registration and save the changes of the form.
With this File Upload add-on, you can add multiple file upload option for your user on the registration form. Go to the Field Options of the File Upload field and you can see all the settings available. Here, there is a Maximum number limit on uploads option. You need to enter the number of file uploads you want to allow on the registration form.
Now, when you visit the registration page, you will get this extra filed added for your site with number of uploads limit. You can see a similar output as below:
When a user selects an invalid file type to upload, this message is displayed in the frontend of the registration form.
When the user uploads the limited number of files this message is displayed saying that the users cannot upload more.
The users also have the option to delete the uploaded file from the file upload field and replace the file. There is a cross sign for each of the files uploaded. To delete a file simply click on the cross.
Then, you will be able to replace the file by uploading a new file.
If you scroll down to the Advanced Settings in the Field Options, you can see the Valid File Types option.
This option allows you to choose the file type options for the File Upload field. You can allow multiple file types such as pdf, doc, png, gif, and more.
Another option for the File Upload field is the Max File Size Allowed. This option allows you to set the maximum size for the File Upload field.
Powered by BetterDocs