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
This is not possible with the standard page/blogpost field type, but you can always go with the web-service backed fields or dynamic fields that can be configured the APIs of choice (doing what you need, assuming there is an API for that) and using those in ConfiForms fields
Hey @Robin Powell
That's quite an app-specific type of question; have you tried looking into ContiForms documentation first?
Maybe you will have more luck contacting their team directly by using their Support Form. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Teodora V _Fun Inc_ I admit it's a odd edge case. I did look at the documentation, but it isn't very clear with regards to the field definition of this particular type. I will go to support if I don't get an answer here, but I try not to bug them unless I have to :) I know this is a bit odd, I can just see use cases where "every space except one" might be useful, so I started here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.