Force unique slug on form submit
-
If the slug is generated from a field in the form, how can we force the slug to be unique instead of adopting a numerical append.
eg: If user enter /example slug and it already exists, it will automatically post the form and create /example-1, instead I’d prefer it doesn’t allow the user to submit the form unless they choose a unique slug.
So every time a user submits a form, they will get a unique slug of their choosing.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Force unique slug on form submit’ is closed to new replies.