Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How to add a message or string literal near silverstripe TextFiled in the Form


Go to End


905 Views

Avatar
jeevs

Community Member, 1 Post

28 September 2014 at 2:24pm

I want to add character count to silverstripe2.4 TextFiled in a Form, when ever an user enters data in the TextField right beside it or underneath it should show a message how many characters left, I had a Javascript and Ajax call to count and post characters count, if i try to display it by using by using LiterField going to another <div> which is not my option, any other HTML tags going out of Form

Note: Silverstripe creates separate div for each Field in the Form, because of that i am not able to show any thing to the right of that field or bottom of it.