203 Posts
louispapera
10 years ago
Topic
Dear sebloders, I would like to write within fields in a form, with character and uppercase letters.

Any ideas, please ?

Regards, Louis
Get a VIP membership
693 Posts
rpoy
10 years ago
5
Level 1
Hi Louis,

There is the Letters Pack plugin that can validate the characters that are entered.

If you want the content to be presented as uppercase, you could also use the HTML Typography to set the style class.

Hope that helps.

Randy

203 Posts
louispapera
10 years ago
0
Level 2
Dear Randy many thanks for your reply and for your suggestions.
Best regards, Louis
203 Posts
louispapera
10 years ago
3
Level 2
Dear Randy, many thanks for your help, I try to insert a html code for setting the style class, without success.
I insert the following code in html typografy:

<style>
p.uppercase {text-transform:uppercase;}
</style>

Could you help me, please ?

Meantime receive my best regards, Louis
693 Posts
rpoy
10 years ago
2
Level 3
Hi Louis,

In the html field you can set it like so:
<span style=text-transform:uppercase;>$cck->getValue('myFieldName');</span>
Hope that helps,

Randy
693 Posts
rpoy
10 years ago
1
Level 4
Hi Louis,

There is another way to do this too!  Check out the PHP String Plugin...

regards,

Randy
203 Posts
louispapera
10 years ago
0
Level 5
Hellò Randy, I have downloaded plugin, it is just for my need.
Many Thanks.  Louis
10 years ago
2
Level 1
look here...
All Words Start From Capital http://jsfiddle.net/terveg/zn58Y/
First word starts from capital 
http://jsfiddle.net/terveg/5dCU5/
...
use STUFF->JS to insert the code and apply it to your field
#custom = it's your field ID

This simple and free JS based on Jquery helps to save text as you see it in the input field into the database. You may change the CSS in your template if you will need this later.

Good luck!
203 Posts
louispapera
10 years ago
0
Level 2
Dear terveg, many thanks for your suggestions. 
I found a Seblod plugin. It is free and change in intro and content view the character in uppercase style.
In any case thanks for your interest in. Regards, Louis
203 Posts
louispapera
10 years ago
0
Level 2

Dear Terved, I have a new need.

How I can insert a field in a form in uppercase ?

I have see your suggestion by JSFIDDLE but I have any problem, could you help me ?

I have insert a new topic today. Please see it.

Regards, Louis 

Get a Book for SEBLOD