You are viewing limited content. For full access, please sign in.

Question

Question

Including text to the right of a field?

asked on February 16, 2016

I have a table to be filled out by participants within my form. One of my fields within the table is a 'Speed' field (see attached) and I would like to put on the right of the field the measurement we want to be reported (KPH, MPH, Knots etc).

 

Understandably, I could put this information in the field label or as a tool tip, but is it possible for me to put it after on the right of the field as in my attached screenshot?

 

Many thanks,

 

Christian

MPH Field.JPG
MPH Field.JPG (16.86 KB)
0 0

Answer

SELECTED ANSWER
replied on February 16, 2016 Show version history

Hi Christian,

Something like this would probably work:

$(".target-column").after("<td style='padding-top:9px;'>KPH</td>");

Doesn't look great in the developer window but just wanted you to note the class name I added to the previous column in the table. Here is the finished form:

Hope this is what you were looking for!

Cheers, Dan

1 0

Replies

replied on February 16, 2016

Hi Dan,

 

That worked perfectly! Exactly what I needed.

 

Thanks

 

Christian

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.