what would be the best way to control the data entry into a field?
2 items:
1. I want to have a phone number field but only accept numbers as entry and then format the phone number.
2. I want to check an email address field for the @ sign
Thanks, Dan
Search found 38 matches
- Mon Nov 07, 2016 7:48 pm
- Forum: Talking LiveCode
- Topic: control user entry into a field
- Replies: 0
- Views: 1594
- Tue Oct 11, 2016 12:38 am
- Forum: Talking LiveCode
- Topic: standalone error
- Replies: 1
- Views: 2074
standalone error
I'm trying to build a standalone in the new 8.1.0 version and I'm getting a bunch of errors. When I look at the standalone settings on the stack page, the information displayed is not correct and I can't seem to change it... How do I fix it? I have attached what the screen looks like. Any help is gr...
- Fri Feb 19, 2016 9:57 pm
- Forum: Talking LiveCode
- Topic: splitting a variable
- Replies: 14
- Views: 6355
splitting a variable
I have a variable that contains 2 columns and 88 lines. I want to take lines 45 to 88 and put them in column 3 and 4 of the variable so I have 4 columns and only 44 lines?
Is that possible?
Thanks,Dan
Is that possible?
Thanks,Dan
- Fri Feb 19, 2016 9:11 pm
- Forum: Talking LiveCode
- Topic: DataGrid Multiple lines
- Replies: 5
- Views: 3472
Re: DataGrid Multiple lines
yes, that worked and then I had to do repeat process to get the id's of the highlighted lines.
thanks
thanks
- Fri Feb 19, 2016 8:12 pm
- Forum: Talking LiveCode
- Topic: DataGrid Multiple lines
- Replies: 5
- Views: 3472
DataGrid Multiple lines
I know how to get one line of a datagrid that is highlighted but how do I get multiple lines of data when I allow multi row highlights?
- Mon Oct 12, 2015 7:10 pm
- Forum: Talking LiveCode
- Topic: datagrids
- Replies: 3
- Views: 2392
datagrids
Is there anyway to "freeze" the first column of a data grid so when a user scrolls to the right the first column stays in the view..
- Mon Oct 12, 2015 7:07 pm
- Forum: Talking LiveCode
- Topic: transpose a variable of data
- Replies: 4
- Views: 2847
Re: transpose a variable of data
thanks that worked....
- Fri Oct 09, 2015 8:28 pm
- Forum: Talking LiveCode
- Topic: transpose a variable of data
- Replies: 4
- Views: 2847
Re: transpose a variable of data
i'm not very experienced with arrays, so I just use variables for the most part and loop thru them...
my data is structured as it is calling data from a sql database so it always has the same number of elements in each line.
how do I split my data into an array?
Thanks, Dan
my data is structured as it is calling data from a sql database so it always has the same number of elements in each line.
how do I split my data into an array?
Thanks, Dan
- Fri Oct 09, 2015 7:46 pm
- Forum: Talking LiveCode
- Topic: transpose a variable of data
- Replies: 4
- Views: 2847
transpose a variable of data
I have a variable that has 4 lines data with 10 columns across. I want to transpose that data into 10 lines with 4 columns similar to the way you can do it excel thru the paste special commands.
Can anyone get me hints on how to write the code for this with an example?
Thanks, Dan
Can anyone get me hints on how to write the code for this with an example?
Thanks, Dan
- Wed Aug 12, 2015 4:04 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Encryty numbers
- Replies: 1
- Views: 2043
Encryty numbers
Does anyone have some code examples of encrypting numbers? Want to encrypt some salary data when saving it to a database but be able to read it back when needed.
Thanks, Dan
Thanks, Dan
- Tue Aug 11, 2015 8:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: DataGrid - delete a line
- Replies: 2
- Views: 2043
DataGrid - delete a line
What would be the best way to delete a line in a data grid? I also might have other lines in the data grid and only want to delete the one line
is there a data grid function that would delete the entire line?
Thanks, Dan
is there a data grid function that would delete the entire line?
Thanks, Dan
- Tue Jul 21, 2015 8:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: show a text field name
- Replies: 6
- Views: 4119
Re: show a text field name
Thanks, I will give it a try...
- Tue Jul 21, 2015 3:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: show a text field name
- Replies: 6
- Views: 4119
Re: show a text field name
if it would work, I'm ok with that but I trying to figure out how to show all of the field names when the window opens? Would I have to have an "openCard" handler to examine the fields? maybe put the fields in a group and do it that way? Or can I use the "behavior" property? any examples of a script...
- Tue Jul 21, 2015 2:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: show a text field name
- Replies: 6
- Views: 4119
show a text field name
I was wondering if there was a way to show the field name or a field description inside the text box, maybe in a "grey" color when the field is blank to tell a user what field information should be put in the text box. I want to do this instead of having to have a a field label next to every text bo...
- Tue Jul 22, 2014 5:13 pm
- Forum: Talking LiveCode
- Topic: sql insert with special char
- Replies: 3
- Views: 3479
Re: sql insert with special char
My code creates one variable with the appropriate commas in between the fields to insert each line into the database. I'm reading an excel sheet line by line and inserting it into my database. So I'm not sure how to incorporate your suggestion unless I put each item into its own variable and then us...