Hello!
In a ConfiForms form I am working on I have a ConfiForms Field Definition macro. The field type is Page/Blogpost. What I'm trying to do is prevent the user from selecting pages in the current space (so from any space the user can see except the one where the form is located). I don't think I can make the "Space to search in" field exclude only the current space (if I can, that would be the best answer), so I'm trying to use the Validation rules field. I'm not sure if the entry space can be checked there (if it can, that would be a very good answer!) but since the title of every page in the space starts with the same 5 characters, I'm trying to use a regular expression to exclude pages that start with those 5 characters (let's say it's "ABCDE"). Here's what the macro currently looks like:
I can't get the submission to fail, whether the title contains ABCDE or not, so I think I'm missing something. Do I need to tell it what part of the [entry] object to look at because it's a page/blogpost field type? Or what am I missing?
Thanks,
Robin