Hello,
New to ConfiForms and trying to figure out its intricacies.
I want to add a field that accepts a webpage URL and then displays it as a Hyperlink along with all the other fields information in TableView.
Eg: The form will have a field where the user inputs "google.com" and in the TableView this link gets displayed as "Link".
Also, is there a way to select a Confluence Page in the same space as a field entry using the page browser that we have by default in Confluence when using the link function on a page? My goal is to basically accept a Confluence Page link into the form.
@@Alex Medved _ConfiForms_ Would appreciate your expertise on this. Thank you!
Hi
You can have a "Page/Blogpost" field on your form that does exactly that - stores a reference to the page and autosuggests when you start typing (can be set to lookup only in a certain space - parameter on ConfiForms Field Definition macro)
Displaying general links is very easy - no matter what field type you choose - can be a text field and then.. when you create a view over your data you can use asLink virtual function to render it as link - https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Alex
I see there is an option saying "Hide Space Key from View" but it doesn't really change anything.
What do you mean it does not change anything? It hides the space key from the "view"... not from the page lookup! Just like the parameter label says
Save the record and then see how it gets rendered in a view (TableView/CardView/etc)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I figured that part out. But I was hoping for a way to hide the Space Key when an user searches for a page. As I have already restricted the field to search in a specific space, I don't want it to pop up while someone is filling up the form.
Its a minor issue. Was just wondering if its possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not at the moment, sorry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a couple of fields set up as text or text areas, this are intended to be links that users type in the form. Is there anyway to restrict the entries to only links or valid links? We want to avoid people entering just text that is not a link. @Alex Medved _ConfiForms_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Having validation rules or validation on a ConfiForms Field Definition level setting the regular expression validation…
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry could not find any validation rule expression to make sure is a link. Do you have an example?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many options really - pick whatever fits your needs, for example https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url
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.