It’s too specific. For instance I always format phone numbers nnn-nnn-nnnn xnnn (the x is for extension). Some people bracket the area code with paras, some need the country code, some want to prepend 1+ etc.
I was planning to have a format string of some sort, then follow that pattern as the user types. For instance: <nnn>-<nnn>-<nnnn> x<nnnnnn> the brackets indicating text to be replaced. I could exclude the brackets but I might want to have a format string that uses a literal n in the future, so I have to figure out how to do all that. Bob S > On Mar 6, 2024, at 11:11 AM, Mike Kerner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > it would be nice to have a universal field widget, and be able to have this > sort of behavior be part of it... > > On Wed, Mar 6, 2024 at 2:07 PM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> That is damn handy. That could be massaged to work with a Livecode field >> too. I’m going to work on that. >> >> Bob S >> >> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode