Data Validation of copied Data in a field

Bob Sneidar bobsneidar at iotecdigital.com
Fri Oct 9 10:38:39 EDT 2015


Are you saying that the closefield is not triggered when you leave the field after pasting text??? Very odd! You can use the textChanged message, but that will get triggered every time someone types text. That would be very hard to work with, timing loops and all. 

Try setting a breakpoint in your closeField handler then pasting text into the field. I have a hard time believing closeField is not being triggered. 

Bob S


> On Oct 9, 2015, at 05:33 , Hillen Richard <mail at richard-hillen.de> wrote:
> 
> Hello list,
> 
> until now I used the closefield message to validate data typed into a field.
> This worked until someone copied the data into the input field.
> 
> To validate such copied data too, I look for a method / message to trigger the data validation after pasting.
> But I didn´t find a solution.
> There is a message „passkey“ which I didn´t get it to work.
> 
> May you help?
> 
> Richard.
> (LC 6.7.4 on OS X 10.10)
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list