Comment to new check needed when fields are mandatory
-
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⚜️ 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.
-
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
-