Created a livecode field that works with Android and Mobile
Posted: Wed Nov 11, 2015 2:36 am
Hey all just wanted to put this out to the community. I created a field a while back for my mobile applications that has a few unique behaviors.
1. It allows for rounded corners
2. The system doesn't autoselect the fields when you change cards on mobile causing your entire app to get pushed up
3. You can customize what filters to have on the field (example: email, numeric, letters only)
4. The color changes for when the field is highlighted
5. The size can readjust to the surrounding area when the user types meaning if the field has 1 line of text then it will be 40 px, but when the user enters more text and the field wraps, the size of the field extends to 80px rather than having it scroll. (On mobile there is almost no way to touch scroll a field so this avoids a pretty big problem.)
Anyways, play around with it, change the custom properties according to your wishes, and someone please turn this into a widget.
If not a widget builder then improve and give back to the community. Thanks.
-Will
1. It allows for rounded corners
2. The system doesn't autoselect the fields when you change cards on mobile causing your entire app to get pushed up
3. You can customize what filters to have on the field (example: email, numeric, letters only)
4. The color changes for when the field is highlighted
5. The size can readjust to the surrounding area when the user types meaning if the field has 1 line of text then it will be 40 px, but when the user enters more text and the field wraps, the size of the field extends to 80px rather than having it scroll. (On mobile there is almost no way to touch scroll a field so this avoids a pretty big problem.)
Anyways, play around with it, change the custom properties according to your wishes, and someone please turn this into a widget.
If not a widget builder then improve and give back to the community. Thanks.
-Will