Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confiforms: Modification of link text from links field

I have a form with a link field where URLs will be pasted in. In views I do not want to have the (rather long) URL shown, but either a standard text or icon (e.g. "Weblink") or a text which the registration user has to enter in the form. 

Is that possible and if yes, how? 
Currently the link field will just take the original link into views. 

Thanks for hints :) 

1 answer

1 accepted

You can have a ConfiForms field macro with field name set to use asLink function.

https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions

Assuming your field is called "mylink" then you will need to put into field name parameter something like

mylink.asLink(Weblink)

perfect (y) 

I am trying to use this method but it is is showing 'weblink' even when link is not provided by the user and record is empty.

Hi

May I see how are you using this?

Alex

I ma using it inside the "Field" macro in TableView macro, here is how Field macro looks like..

 

Capture.PNG

Unless you are using some very old ConfiForms version it should work

Quick test from me: http://recordit.co/5uHh1WixP0 

A-ha, you are saying that the "weblink" label is generated EVEN when there is no value in the docLink field. I see now!

We will fix this asap

Like Kaushlendra likes this

Exactly, Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

26 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you