new check needed when fields are mandatory
When people add hashtags on my site, many of them don't put a # in front of the word. We can check data availability, data length, and regular expression, but we need to check to make sure the # character is included when they add their hashtags. If the regular expression is set to # then #car won't be accepted by UNA. There needs to be a fourth check that checks if a certain character or phrase is included along with their input.
-
-
·
Roman L
- ·
Hello,
Seems, that if they forget to put # then we can't distinguish simple word from a hashtag. Or not? -
·
Roman L
-
- · Genesis
- ·
Yes and I also think there needs to be a dedicated block for hashtags. Like hashtags in posts, hashtags in events, hashtags in profiles, etc.
-
-
·
Alex T⚜️
- ·
Regular expressions are very powerful, so I think you can check using regular expressions if there is a hashtag following a letter in a text, so user will not be able to submit text without hashtags.
-
·
Alex T⚜️
-
- · Baloo
-
·
In reply to Genesis
- ·
Yes that I thought it 100 times too, would be a very good thing.
Yes and I also think there needs to be a dedicated block for hashtags. Like hashtags in posts, hashtags in events, hashtags in profiles, etc.
-
- · Genesis
-
·
In reply to Alex T⚜️
- ·
Alex T⚜️ How exactly do I write the regular expression? I basically need to:
1. make sure each word has a hashtag in front of it.
2. automatically add the hashtag in front of each word that doesn't have a hashtag.
3. make sure there is a space between each hashtag, if not then create a space.
4. limit the hashtags to a maximum of 5.
-
-
·
Alex T⚜️
-
·
In reply to Genesis
- ·
1-3. To implement this - special control is needed, using regular expressions you can for example check if text has at least 1 hashtag
4. there is already setting for this in Studio
-
·
Alex T⚜️