You are viewing limited content. For full access, please sign in.

Question

Question

Uppercase text not save in Repository

asked on January 10, 2018

Hi All,

 

I make a form with text-transform to uppercase.

 

 

And this is working in my form.

 

 

But when the form is save in the repository, the text back to lowercase.

 

 

I'm using the Save's task from Form.

How can I force the uppercase for the familly's name?

 

0 0

Answer

SELECTED ANSWER
replied on January 12, 2018 Show version history

Hi Henry,

 

I tried your solution but unsuccess.

 

 

"test copyr" should be "TEST copyr"

 

I tried this one and it's working

	$(document).ready(function()
		{
  			$('#q5 input').focusout(function()
				{
    				$( this ).val($( this ).val().toUpperCase());
  				});
		});

3 0

Replies

replied on January 10, 2018

Hi Olivier,

Your CSS only affected how the value was displayed; the actual submitted value was not changed to upper case.

If you would like the field value to be changed, you can refer to the custom script in this post: https://answers.laserfiche.com/questions/74081/Best-option-for-converting-all-text-in-form-fields-to-upper-case

0 0
replied on January 11, 2018

Dear,

I solved a similar issue by using jquery.

$("#FieldID").change(function(){

$("#FieldID").val($("#FieldID").val().toUpperCase());
});

0 0
SELECTED ANSWER
replied on January 12, 2018 Show version history

Hi Henry,

 

I tried your solution but unsuccess.

 

 

"test copyr" should be "TEST copyr"

 

I tried this one and it's working

	$(document).ready(function()
		{
  			$('#q5 input').focusout(function()
				{
    				$( this ).val($( this ).val().toUpperCase());
  				});
		});

3 0
replied on January 12, 2018

Glad to hear that!! :)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.