37 Posts
PierreP
8 years ago
2
Topic

Hello,

I'm trying to create a front-end manager like this one.

The problem is that all icon field doesn't display anything on my website and I need other buttons.

So I created multiple fields with html typo like this :

<button type="button" class="btn btn-primary">ANYTHING</button>

And I use the link option (delete, form, list or even extern ...).

The problem is that with IE,  when there is type="button" it doesn't work but it works with Firefox and Chrome (I mean the navigator doesn't redirect to the right page : the link has no effect).

I tried with role="button"  and it redirects to the same page in all browers. Only when I click on "open in another tab" it opens the right page.

I tried also with both type="button" and role="button" but it doesn't work with all browers.

How can I fix this ?

Thank you in advance !

Get a VIP membership
37 Posts
PierreP
8 years ago
1
Level 1

Hello,

No idea ?

Happy New Year !

572 Posts
_jrmo
8 years ago
0
Level 2

Hi PierreP,

You shouldn't use <button> syntax for this, as then setting the link settings will try to wrap your button in <a> tags.

I would create a freetext field with just the words you want contained in your button. Then, use the link settings on the free-text field to select what sort of link you want. With that, you can set the link CSS class as btn btn-primary so the styling looks like a button. That should do the trick.

Cheers,

J

Get a VIP membership