Displaying first letter of a database text field

Made a video of how you can do this with the Arbitrary Javascript component! ( This includes voice too! I’m so happy today because I got my mic that I now can make videos with voice :partying_face: ) : Loom | Free Screen & Video Recording Software | Loom

How to download the Arbitrary Javascript component : PragmaFlow's Adalo Marketplace Reopened - YouTube

Flawless also did a tutorial about how to download ( both are same! ) : 🧙‍♂️ How to install the Arbitrary Javascript by Pragmaflow into your Adalo app

Script :

var first_name = "John";
var first_name_in_capital = first_name.charAt(0).toUpperCase() + first_name.slice(1);
var last_name = "krueger";
var last_name_in_capital = last_name.charAt(0).toUpperCase();
var Name = first_name_in_capital + "." + last_name_in_capital;
return Name;

( replace the John and krueger with magic text )

You can do this with API’s too : Custom function to return the first character of a word - #5 by dilon_perera

Thank you

2 Likes