Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Good day,
I'm trying to figure out the best way to do this. My form has a row that consists of a drop-down list. When a word is chosen, it automatically enters a word in another row and also in a floating field. I would like the words in the other row and the floating field to be capitalized. Is this possible?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
you can use as below to make first letter of string as Capital letter.
var str = this.value // dropdown
var str2 = this.value.charAt(0).toUpperCase() + this.value.slice(1);
console.log(str2);//Dropdown
Thanks
Siva
Vistas
Respuestas
Total de me gusta
@islandgirl23 : Which form is it ? Is it adaptive form or any other form
Vistas
Respuestas
Total de me gusta
While setting the field value, use script like below:
this.rawValue = this.rawValue.toString().toUpperCase();
Vistas
Respuestas
Total de me gusta
I entered a script in the exit event of the row to make it work there ( this.rawValue = util.printx(">?<*",this.rawValue);
but, I still need a script for the floating field. Right now, whatever and however it is entered in the row, it enters it the same way in the floating field. I need just the first letter to be capitalized
Example: If they enter apple in the row, I would like the floating field to read Apple.
Vistas
Respuestas
Total de me gusta
you can use as below to make first letter of string as Capital letter.
var str = this.value // dropdown
var str2 = this.value.charAt(0).toUpperCase() + this.value.slice(1);
console.log(str2);//Dropdown
Thanks
Siva
Vistas
Respuestas
Total de me gusta
It's a Livecycle Designer form. I entered a script in the row to make it work there but I still need a script for the floating field.
Vistas
Respuestas
Total de me gusta
Hello, I'm still in need of assistance. My form is a livecycle form. Where would I enter the scripts you provided? Please see my reply below.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas