In Confiforms, I am using a Page/Blog type field. It is not a required field, and I want to ignore it if empty.
The field works beautifully when the person filling the form uses it properly. If they start to type a page-title, it finds the Confluence page for them.
I want to detect the case where a user incorrectly just pastes a URL of a Confluence page into the textbox. If the user does this, I'd like to display a validation error. This error can display either immediately, or at the time the form is saved.
The problem is that Confiforms seems to render any invalid entry as a null-string. So in a validation rule, I can't distinguish between an invalid entry (where I want to display a validation error), and the user just leaving the field empty (which should not produce a validation error).
Any ideas?
Yes, that is true - ConfiForms operates with page/blog post IDs and when a non-existing page title is typed it does not set the corresponding page id (remains empty as when the user has not typed anything).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.