Actions

Question type - File upload/es: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
 
(23 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<onlyinclude>{{#ifeq:{{{transcludesection|short_description}}}|short_description|
<onlyinclude>{{#ifeq:{{{transcludesection|short_description}}}|short_description|


The file upload question type (available in v1.91 or newer) can be used to collect file(s) from a user in response to a question. For example, a company with employment opportunities could use this question to request the candidate to submit/upload his resume as well as photograph and other scanned documents in the employment survey.
El tipo de pregunta de carga de archivos se puede utilizar para recopilar archivos de un usuario en respuesta a una pregunta. Por ejemplo, una empresa con oportunidades de empleo podría utilizar este tipo de pregunta para solicitar al candidato que envíe/cargue su CV actualizado, así como cualquier otro documento escaneado en la encuesta de empleo.


[[File:file-upload-screenshot.png]]
<center>[[File:file-upload-screenshot.png]]</center>
 
 
'''Ejemplo:''' [[Media:Question example file upload.zip|File upload question type.zip]]


}}</onlyinclude>
}}</onlyinclude>


This question gives the survey designer the ability to restrict the files that can be uploaded by the user in response to the question. For example, the survey administrator can allow only PNG, JPG and JPEG images which are less than 1 MB in size.
Esta pregunta le da al diseñador de la encuesta la capacidad de restringir los archivos que puede cargar el usuario en respuesta a la pregunta. Por ejemplo, el administrador de la encuesta puede permitir solo imágenes PNG, JPG y JPEG que tengan menos de 1 MB de tamaño.
 
=Opciones generales=
 
{{QS:relevancia}}
 
=Pantalla=
 
{{QS:hide_tip}}
 
{{QS:Pregunta_tema}}
 
{{QS:Oculto}}
 
{{QS:CSS_Class}}
 
=Metadatos del archivo=


=Core settings=
{{QS:mostrar_título}}


{{QS:relevance}}
{{QS:mostrar_comentario}}


=Advanced settings=
=Lógica=


{{QS:show_title}}
{{QS:grupo_aleatorio}}


{{QS:show_comment}}
=Otro=
 
{{QS:Salto de página}}


{{QS:max_filesize}}
{{QS:max_filesize}}


{{QS:maximum_number_of_files}}
{{QS:número_máximo_de_archivos}}
 
{{QS:número_mínimo_de_archivos}}


{{QS:minimum_number_of_files}}
{{QS: tipos de archivos permitidos}}


{{QS:allowed_filetypes}}
=Estadísticas=


{{QS:Random_group}}
{{QS:Display_chart}}


{{QS:Hidden}}
{{QS:tipo_gráfico}}


{{QS:Page_break}}
[[Categoría:Tipos de preguntas]][[Categoría:Preguntas enmascaradas]]

Latest revision as of 07:06, 5 September 2023

Descripción general

El tipo de pregunta de carga de archivos se puede utilizar para recopilar archivos de un usuario en respuesta a una pregunta. Por ejemplo, una empresa con oportunidades de empleo podría utilizar este tipo de pregunta para solicitar al candidato que envíe/cargue su CV actualizado, así como cualquier otro documento escaneado en la encuesta de empleo.


Ejemplo: File upload question type.zip

Esta pregunta le da al diseñador de la encuesta la capacidad de restringir los archivos que puede cargar el usuario en respuesta a la pregunta. Por ejemplo, el administrador de la encuesta puede permitir solo imágenes PNG, JPG y JPEG que tengan menos de 1 MB de tamaño.

Opciones generales

QS:Relevancia

Pantalla

Hide tip (hide_tip)

Description

Most questions will usually include a tip that says "Please choose one of the following options" or a hint text on how to fill out the question. This attribute allows you to turn off or on this tips/hints.

These tips/hints include validation criteria messages (such as min/max number of answers, min/max/equals sum value). If hide_tip is enabled, these messages will be hidden. However, if the user enters invalid data, the tips will appear. They will be coloured in red, getting changed to green once the validation criteria are met.

Available options

  • On - the tips/hints are hidden;
  • Off (default).


QS:Pregunta tema

QS:Oculto


CSS class (css_class)

Description

If you want to add special CSS classes to certain questions, you can enter the CSS class name(s) in this box. Make sure you leave an empty space between different class names.

Valid values

  • Any text string with a space between different CSS class names.
 Hint: You can also insert an expression in this box (New in 3.0.0 ). Remember that the output of the expression will not be updated dynamically.


  According to the W3C, CSS class names can contain only the characters [a-zA-Z, and 0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_). They cannot start with a digit, or a hyphen followed by a digit. LimeSurvey encodes CSS classes, but it does not fix it totally.



Metadatos del archivo

QS:Mostrar título

QS:Mostrar comentario

Lógica

QS:Grupo aleatorio

Otro

QS:Salto de página


Maximum file size allowed (max_filesize)

The maximum size of a file that should be allowed to be uploaded by the user.

Example

If the maximum filesize is set to 1024 KB, any files larger than 1024 KB will be discarded, and the user will be asked to upload a smaller file.

Note: The final value shown to the survey participant is also depending on PHP settings, like post_max_size and upload_max_filesize. Of all three possible values (upload_max_filesize, post_max_size and max_filesize) the lowest one will be shown and used.


QS:Número máximo de archivos

QS:Número mínimo de archivos

QS:Tipos de archivos permitidos

Estadísticas

Display chart (display_chart)

Description

This attribute allows the survey administrator to choose if a chart that contains the question results should be displayed to the survey participants after they filled out the survey.

Note: To have the chart displayed on the last page, you have to enable the following options:


Available options

  • On
  • Off (default)


QS:Tipo gráfico

Categoría:Tipos de preguntasCategoría:Preguntas enmascaradas