If I am creating a confiform field definition and selecting the definition type as 'autolink'
Basically I want to create a link with a prefix value and a dynamically added value to a field within the entry.
How do I achieve this concat ability?
do not bother too much with the autolink field definition type. If it is any other field definition type that I can use and present the resultant as a link on the entry. That should be fine.
To understand with an example:
Let us say, an entry in the form is: Facebook username: usernameXYZ
then it should create a link:
at least create the above link as the field value. If possible have a label for it: Facebook Profile(hyperlink or anchor tag).
Regards,
Rohit
Hi @Rohit Agarwal
Very sorry for not addressing your question abot ConfiForms on Atlassian Answers earlier. It simply got unnoticed...
It is always better to ask us directly using the contact form on http://wiki.vertuna.com/display/VERTUNA/Vertuna+LLC+Home
What you are trying to do is absolutely possible with ConfiForms and there a lot of way how to do that: we can use a calculated or formula filed to get this set or we can use Field Definition rules or we can use ConfiForms IFTTT macro to get the record updated "on save"
Please send your question and example storage format for form configuration directly to us, vertuna(at)vertuna.com and we help you
Best Regards
Sash
I figured a way to do it. Through the [entry.FIELD_NAME] URL pattern. works like a charm!
No worries on late responses!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please give me an example of the URL pattern.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add ConfiForms Field Definition of autolink to you form and configure the pattern parameter the way you want, mixing together static data with references to fields through [entry.field_name] notations to form a valid URL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<ac:parameter ac:name="fieldName">sdgindicator</ac:parameter>
<ac:parameter ac:name="fieldLabel">SDG Indicator</ac:parameter>
<ac:parameter ac:name="extras">true</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
<p>
<ac:structured-macro ac:macro-id="0b4bb35e-d088-4168-b07a-7c7e12d4f52c" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">websitelink</ac:parameter>
<ac:parameter ac:name="fieldLabel">Website Link</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="79c69b60-a9da-4c24-b26c-518fb27966d6" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">sdglink</ac:parameter>
<ac:parameter ac:name="fieldLabel">SDG Link</ac:parameter>
<ac:parameter ac:name="values">[entry.websitelink]|[entry.sdgindicator]</ac:parameter>
<ac:parameter ac:name="extras">true</ac:parameter>
<ac:parameter ac:name="type">autolink</ac:parameter>
</ac:structured-macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.