Keyword

Hide empty extra field if type is link

  • Ewoud Vreugdenhil
  • Ewoud Vreugdenhil's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 8 months ago #109303 by Ewoud Vreugdenhil
Hide empty extra field if type is link was created by Ewoud Vreugdenhil
Hi there,

I have added a few extra fields. If the field is a Text field type, then the field is hidden when it is left empty. That is great. But if the type is Link then the field wil not be hidden if it is left empty.

Is this a bug of is it supposed to work this way? And is there a solution to hide the field if left empty?

Thanks,

Ewoud

Please Log in or Create an account to join the conversation.

  • Ewoud Vreugdenhil
  • Ewoud Vreugdenhil's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 8 months ago #109304 by Ewoud Vreugdenhil
Replied by Ewoud Vreugdenhil on topic Re: Hide empty extra field if type is link
Found it. In case others have the same problem, this is what I did.

You need to make sure that everything is empty in the extra field. In case of a link there is a Text field and a URL field. The URL field has as default already http:// in it. You need to clear that as well. Then the field will be hidden on the frontend.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #109305 by craig rowand
Replied by craig rowand on topic Re: Hide empty extra field if type is link
Is there a way to remove the 'http://' from the link default? Everytime I try to blank it out, it returns.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #109306 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Hide empty extra field if type is link
Hello Craig,

You must remove it from its settings, not from inside the item form.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum