Forum Discussion

AaronB's avatar
AaronB
Qrew Trainee
3 months ago

URL Formula - setting button/field width on new form not working

I have a URL formula field that is set to 'display as a button on forms & reports'.

Using the new form designer, I try to set the width of this field to 300 pixels on the form. 

However, the form continues to ignore these width settings so the button takes up the entire width of the column on the form.

Has anybody else run into this?   Any suggestions?



------------------------------
Aaron B
ab1692@att.com
------------------------------

2 Replies

  • I've seen it happen but unfortunately don't have a great answer or solution specific to the new form. If you want to trim it you can convert the field to a formula rich text and do something like: 

    var text url = "your url here";

    "<a href='" & $url & "' class='Vibrant' style='width: 200px;text-align:center;'>Button Label</a>"

    That'll make it appear like the legacy form buttons more or less and you could have full control of the width that way. 



    ------------------------------
    Chayce Duncan
    ------------------------------
    • AaronB's avatar
      AaronB
      Qrew Trainee

      Great suggestion!  I'll give it a try.



      ------------------------------
      Aaron B
      ab1692@att.com
      ------------------------------