Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Ryan M Posted February 15, 2022 Posted February 15, 2022 I have a custom profile field for "Discord Handle" that I require on forum registration, as our community is tied to our Discord. The field type is "Text", however when someone attempts to register, it says their entry is invalid. It is rejecting the use of the # sign inside the text field, which is needed, because, as you all know, all Discord usernames are in the format of their handle followed by four numbers with the # in-between. Any thoughts? Signup page: ACP > Member Profile Fields - (Note: The description fields and Regular Expression fields are empty.)
catbreadbat Posted June 2, 2022 Posted June 2, 2022 (edited) A quick google search revealed an existing regex: /^.{3,32}#[0-9]{4}$/ Edited June 2, 2022 by catbreadbat SeNioR- 1
Marc Posted June 3, 2022 Posted June 3, 2022 This is actually quite an old post, however it does appear to have been missed for some reason, so please do let us know if you are experiencing the same issue
Recommended Posts