What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Allow users to submit Tweets to usAsked by farmcreditIL on June 01, 2016 at 02:37 PM
We want to allow members to submit memories in the form of Tweets in a registration form. However, we do not want it to automatically post to our Twitter feed, or on theirs. We want to be able to sort through them to use during an event.
Is there a widget or strategy that would allow us to limit a text box to 140 characters and show how many they have left (like Twitter) and also take characters away if they upload a pic to accompany the memory?
You can use a simple Text Area and limit the number of allowed characters from the field properties. This will also show to the user how many characters they entered and how many left.
If you need to remove the texts from the Text Area if they upload a picture, conditions can be used to hide the Text Area and clear its value.
I set the 140 character limit. But I don't understand the condition suggestion when adding a photo. The 140 character should be reduced by 22 characters if they also attach a photo. How would I set up a condition for that?
Here is our form (see bottom): https://form.jotform.com/61716542699972 that shows the example of the 140 character text box and the option to attach a photo right below that. But if they do attach a photo, then the 140 character limit should be reduced to 118 characters. I have no clue how to do this with the conditions in jotform.
As far as I know it is not possible to change the characters limit with conditions, the workaround that I can think is hiding the field and showing a new field with the needed character limit.
To achieve this you will use the condition "Show / Hide" and here is a guide that will help you to do that: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer
You should add a new text area with the needed limit:
The condition you will use should be like this one:
This should show the text are with the desired character limit if there is an uploaded file, here is a sample:
Here is also the link to my cloned form so you will be able to see the live example: https://form.jotform.com/61717240737961
Feel free to clone it: How-to-clone-an-existing-form-from-a-URL
Hope this helps.