This topic is locked

mostrar campos de un formulario como ratio o campo alfa

12/2/2020 7:14:24 PM
PHPRunner General questions
C
cjarerov author

Hola
Alguien ha mostrado los campos de diferente forma dependiendo el tipo de dato en otro campo
Ejemplo si el campo 3 es alfanumérico muestras para capturar alfanumérico

o si el campo 3 es selectivo lo pongo como ratio todo esta en un mismo registro
lo que quiero que si mi registro trae en un campo alfanumérico cree el campo de lectura como alfanumérico o si en ese momento trae selectivo que cree el campo con ratio selector
es posible hacer esto en la web con PHP?
Hi
Someone has shown the fields differently depending on the type of data in another field
Example if field 3 is alphanumeric samples to capture alphanumeric

or if field 3 is selective I put it as ratio everything is in the same record
what I want if my record brings in an alphanumeric field create the reading field as alphanumeric or if at that moment it brings selective that creates the field with selector ratio
is it possible to do this on the web with PHP?

Sergey Kornilov admin 12/2/2020

My Espanol is rusty but I think I understand. You want to change the field type based on another field selection. Like, change it from the text field to dropdown box or a set of radio-buttons.
While PHPRunner doesn't have such built-in functionality you can achieve something similar using field events. You will need to display both fields on the form, hide one of them initially, and show/hide using field events based on another field selection.

C
cjarerov author 12/3/2020



My Espanol is rusty but I think I understand. You want to change the field type based on another field selection. Like, change it from the text field to dropdown box or a set of radio-buttons.
While PHPRunner doesn't have such built-in functionality you can achieve something similar using field events. You will need to display both fields on the form, hide one of them initially, and show/hide using field events based on another field selection.


Thanks
I will try