PlaceholderField widget

A place for you to show off what you have made with LiveCode

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

PlaceholderField widget

Post by stam » Tue Dec 19, 2023 12:28 pm

Hi all,

I've released a script widget called PlaceholderField, which provides a text field for data entry with hint/placeholder field text.
The placeholder text can be animated on appearing/disappearing. Optionally this provides password field functionality as well.
I created this predominantly for my own purposes for data entry where 1-line fields are used and for username/password combinations. The widget emits the message 'fieldAction' on exiting, which can be managed in widget or higher up the object hierarchy.

All properties are settable in the widget's property inspector. Documentation is automatically added to the Dictionary on installation.
To install, use the Extension Manager (Tools menu) and click the '+" icon and selected the .lce file.

The widget is released under MIT licence; Source code and complied extension is available on GitHub at https://github.com/stam66/placeholderField/tree/v1.0.0
If you encounter any issues, please log these in the 'issues' section there.

I also attach the compiled widget below.
Regards,
Stam

Note: Script widgets require LiveCode 10 DP5 or higher. For older versions of LiveCode, the group control on which the widget is largely based can be downloaded here: https://github.com/stam66/skPlaceholderField

Attachments
PlaceholderField widget.jpg
PlaceholderField widget.zip
(64.15 KiB) Downloaded 67 times

Post Reply

Return to “Made With LiveCode”