To create a customized entry form with the choice of the division, you will proceed as in the case of the basic form:
Create an HTML document, add CSS styles, and use JavaScript to ensure that you send data from the form and assign the client to the queue. Then you upload the created form to any hosting that supports the HTTPS protocol and add a link to the form in the administration interface.
Again, we recommend creating an entry form using the codepen.io web application for simplicity and clarity. You can start by clicking on this link. The code editor we use is linked to the bootstrap framework as a small simplebar library, due to the difficulties with iframe scrolling on iOS.
Compared to the basic form, this form consists of two slides - a classic form with data and selection of the department. Slides are created using the Swipper library.
The first two div tags (and css and javascript linked to them) serve to display your own scrollbars for better user experience on mobile devices.
CSS Styling
Most CSS is already secured with Bootstrap and Swipper.
JavaScript code
The information about the selected department is sent along with other data from the form in the feature called custom variable “department” on the submission of the form.
For full API form capabilities, see the general instructions on creating an feedback form.
Uploading the form to any hosting
If you used codepen.io to create the form, first click the Save button, then export to .zip format.
You have a form prepared, now you need to upload the form to the Internet so we can refer to it from the administration interface. In our case, we will use the GitHub site. You can find more information here.
If you use a tool other than codepen.io, the form code will look like this:
Inserting a link to the mluvii application administration
You created an entry form using codepen.io. You have exported it to your computer. You have uploaded exported folders to the GitHub repository and then switched on the GitHub website. This brings you a link to our form, which you insert into the administration interface.