Skip to main content

Search

Field dynamic width

Comments

2 comments

  • Senad

    Hi,

     

    I found a way to do this with a script line inside the form load action:

     

    I have used this and it works, it could be maybe better written but for now its enough

     

     jQuery('span [fieldname=Title]').parent().parent().parent().css('width',((jQuery('span [fieldname=Title] > span').text().length + 1) * 8) + 'px'); 

    0
  • RosarioM

    Hi Senad Omicevic

    Thank you for share the answer with the Community.

    Regards

    Rosario Matos

    0

Please sign in to leave a comment.