The workaround will be to invalidate entry if the first character is a number, so any help there would be appreciated. I've been trying with keyUp in field but I can't get it to work. This is the current button code:
Code: Select all
on mouseUp pButtonNumber
ask "Please enter a name for the project."
if the result is not "cancel" then
put it into tName
clone card "Lyricist"
put the long id of it into tCardID
put tName into field "Title" of tCardID
set the name of tCardID to tName
put return before line 1 of field "Index" of card "Navigation"
put tName before field "Index" of card "Navigation"
end if
end mouseUp