Survey Script Modifications - Express Project
Budget: $30 – $250 USD
This project involves fixing and adding some features to an already functional script, which can be seen at [https://bit.ly/4i8z4cP](https://bit.ly/4i8z4cP).
This project must be delivered within a maximum of 24 hours after the proposal is accepted.
The project is developed in **VUE.js** and must continue to be developed in this framework, so we are looking for an expert in **VUE.js**. It runs on a server with **PHP 5.4** (we have no possibility of changing this). This is the first of several tools we need to develop, so if the working relationship goes well, the idea is to continue working with the same developer for the other projects.
The project consists of a **survey creation tool**, where users can create and publish surveys and share them via an **HTML embed code** (you can check how the published surveys look by accessing the URL that appears in the embed code under the “View Code” button).
The published survey is uploaded to another server via **FTP** (this has already been developed), where it inserts an **index.php** file that controls the form and a **data.json** file that contains the survey configuration data.
### Required Changes:
1. When creating a survey, there is a module called "Opciones de resultados" (Results Options? with two settings that should display other users' responses:
- “Mostrar los resultados (porcentaje de respuesta de los demás usuarios) al contestar cada pregunta” (Show results (percentage of other users' responses) after answering each question)
- “Mostrar los resultados al usuario al contestar todas las preguntas” (“Show results after answering all questions.”)
The current implementation already displays the results at the correct moment (either after each question or after completing the survey). However, the percentages displayed are incorrect (they should add up to **100%**, but they don’t, and they also don’t reflect the correct registered votes in the database).
2. When creating a “Opciones de selección” (Selection Options) question, there are three functionalities at the end that are not working in the survey:
- “Respuesta obligatoria” (Mandatory response) (if checked, answering the question should be required).
- “Orden aleatorio” (Random order) (if checked, the response options should appear in a different order each time the survey is loaded).
- “limitar el número de selecciones permitidas” (Limit the number of allowed selections) (currently, if **1** is entered, radio buttons appear; if more than **1** is entered, checkboxes appear. However, the system does not enforce the selection limit when checkboxes are used).
3. “Respuesta obligatoria” (Mandatory response) option to the questions of "texto abierto" (free text questions) just like in the “Opciones de selección” (Selection Options) question
4. There is a “Reglas de lógica condicional” (Conditional Logic Rules) module that allows users to hide future questions based on previous responses. This is already implemented in the survey creation form, but the questions do not actually get hidden in the published survey. This needs to be fixed.
5. Ensure that **uploaded images** in the public survey have a **maximum width of 500px**.
6. In the header, there is a **yellow eye icon** that should load a preview of the survey. This means running the same process used to publish the survey but publishing it on the **same server where the survey creation form is hosted** (clicking this icon should open a new tab with the preview link).
- Currently, clicking this icon **always opens the same survey creation form**, instead of showing the preview of the survey being created.
7. When clicking the **“Restore default values”** button, a confirmation dialog should appear with the message:
**"Are you sure you want to reset to the default style values?"**
- There should be **YES** and **NO** buttons. If **YES** is clicked, the default style values should be restored (I will send the default values separately).
This project must be delivered within a maximum of 24 hours after the proposal is accepted.
The project is developed in **VUE.js** and must continue to be developed in this framework, so we are looking for an expert in **VUE.js**. It runs on a server with **PHP 5.4** (we have no possibility of changing this). This is the first of several tools we need to develop, so if the working relationship goes well, the idea is to continue working with the same developer for the other projects.
The project consists of a **survey creation tool**, where users can create and publish surveys and share them via an **HTML embed code** (you can check how the published surveys look by accessing the URL that appears in the embed code under the “View Code” button).
The published survey is uploaded to another server via **FTP** (this has already been developed), where it inserts an **index.php** file that controls the form and a **data.json** file that contains the survey configuration data.
### Required Changes:
1. When creating a survey, there is a module called "Opciones de resultados" (Results Options? with two settings that should display other users' responses:
- “Mostrar los resultados (porcentaje de respuesta de los demás usuarios) al contestar cada pregunta” (Show results (percentage of other users' responses) after answering each question)
- “Mostrar los resultados al usuario al contestar todas las preguntas” (“Show results after answering all questions.”)
The current implementation already displays the results at the correct moment (either after each question or after completing the survey). However, the percentages displayed are incorrect (they should add up to **100%**, but they don’t, and they also don’t reflect the correct registered votes in the database).
2. When creating a “Opciones de selección” (Selection Options) question, there are three functionalities at the end that are not working in the survey:
- “Respuesta obligatoria” (Mandatory response) (if checked, answering the question should be required).
- “Orden aleatorio” (Random order) (if checked, the response options should appear in a different order each time the survey is loaded).
- “limitar el número de selecciones permitidas” (Limit the number of allowed selections) (currently, if **1** is entered, radio buttons appear; if more than **1** is entered, checkboxes appear. However, the system does not enforce the selection limit when checkboxes are used).
3. “Respuesta obligatoria” (Mandatory response) option to the questions of "texto abierto" (free text questions) just like in the “Opciones de selección” (Selection Options) question
4. There is a “Reglas de lógica condicional” (Conditional Logic Rules) module that allows users to hide future questions based on previous responses. This is already implemented in the survey creation form, but the questions do not actually get hidden in the published survey. This needs to be fixed.
5. Ensure that **uploaded images** in the public survey have a **maximum width of 500px**.
6. In the header, there is a **yellow eye icon** that should load a preview of the survey. This means running the same process used to publish the survey but publishing it on the **same server where the survey creation form is hosted** (clicking this icon should open a new tab with the preview link).
- Currently, clicking this icon **always opens the same survey creation form**, instead of showing the preview of the survey being created.
7. When clicking the **“Restore default values”** button, a confirmation dialog should appear with the message:
**"Are you sure you want to reset to the default style values?"**
- There should be **YES** and **NO** buttons. If **YES** is clicked, the default style values should be restored (I will send the default values separately).