insert with lowercase

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
patsd102
Veteran Member
Posts: 142
Joined: 2013-01-15 19:59

insert with lowercase

Post by patsd102 » 2020-06-17 20:34

Anyone want to share a code to insert an entry with lowercase letters only,

Thanks in advance

pat
23.17

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 347
Joined: 2018-03-04 09:30
Location: David

Re: insert with lowercase

Post by D Oliveira » 2020-06-17 22:21

hooks/tablename.php -> after insert & after update functions, here are your options:

php

Code: Select all

<?php
echo strtolower("Hello WORLD.");
?>
js

Code: Select all

var str = "Hello World!";
var res = str.toLowerCase();
.css

Code: Select all

div {
  text-transform: lowercase;
}


patsd102
Veteran Member
Posts: 142
Joined: 2013-01-15 19:59

Re: insert with lowercase

Post by patsd102 » 2020-06-18 17:22

Many thanks D Oliveira

I was really looking to keep a single field in lower case

The rest are not so important,

I will try your examples in the hooks folder,

Pat
23.17

Post Reply