ユーザーフィールドに含めることができるものを制限する

On Replit Ask we have a user field for your replit username. I have realized that any string would work and you can even include HTML. Is there a way to limit what can be input into a template? For example, it already has an @ and disallows HTML.

Image of the current settings.

Some more detail and background on Ask.

「いいね!」 1

I think you’ll need a plugin to handle that. You could even have it do an API call to validate it.

「いいね!」 1

Got it. And custom plugins are available on all hosting plans correct?
Also, Replit staff has said replit auth is being worked so its not worth the effort to make a plugin to validate its a real username.

No. At discourse.org custom plugins are available only on enterprise plans.

「いいね!」 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.