Skip to content

Conversation

@dansinclair25
Copy link

Added a "XLFormRowDescriptorType" for a credit card expiry date to auto format the textFields output to "MM/YY".

Also added a "maxLength" property to XLFormRowDescriptor so user can only enter maxLength amount of characters.

I've also added these 2 additions to the bottom of the form in the InputForms example.

@carlhunterroach
Copy link
Contributor

Great!

On Mon, Jun 22, 2015 at 10:51 AM -0700, "Dan Sinclair" [email protected] wrote:

Added a "XLFormRowDescriptorType" for a credit card expiry date to auto format the textFields output to "MM/YY".

Also added a "maxLength" property to XLFormRowDescriptor so user can only enter maxLength amount of characters.

I've also added these 2 additions to the bottom of the form in the InputForms example.

You can view, comment on, or merge this pull request online at:

  #403

Commit Summary

Added simple credit card additions

File Changes

M
Examples/Objective-C/Examples/Inputs/InputsFormViewController.m
(14)


M
XLForm/XL/Cell/XLFormTextFieldCell.m
(41)


M
XLForm/XL/Controllers/XLFormViewController.m
(3)


M
XLForm/XL/Descriptors/XLFormDescriptor.m
(4)


M
XLForm/XL/Descriptors/XLFormRowDescriptor.h
(2)


M
XLForm/XL/Descriptors/XLFormRowDescriptor.m
(6)


M
XLForm/XL/Descriptors/XLFormSectionDescriptor.m
(10)


M
XLForm/XL/XLForm.h
(1)


M
XLForm/XL/XLForm.m
(2)

Patch Links:

https://github.com/xmartlabs/XLForm/pull/403.patch
https://github.com/xmartlabs/XLForm/pull/403.diff


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants