Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant get the text #1

Open
xbahaa opened this issue Jun 25, 2018 · 2 comments
Open

cant get the text #1

xbahaa opened this issue Jun 25, 2018 · 2 comments

Comments

@xbahaa
Copy link

xbahaa commented Jun 25, 2018

i can't get the text, we need function to get the text from the filed

@KarimAbdo
Copy link
Contributor

KarimAbdo commented Jun 26, 2018

You can

firstNameEditText.text()

`<com.teleclinic.kabdo.smartform.SmartEditText

        android:id="@+id/firstNameEditText"

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        app:setLabel="@string/first_name"

        app:setMandatory="true"

        app:setMandatoryErrorMsg="@string/mandatory"

        app:setRegexType="NAME_VALIDATION"

        app:setTextColor="@color/textGray" />`

@KarimAbdo
Copy link
Contributor

KarimAbdo commented Jun 26, 2018

I'd recommend you to use this library better:
[https://github.com/TeleClinic/SmartForm] it includes much more form features that enable u to verify the whole layout with only formLayout.check()

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

No branches or pull requests

2 participants