NetTalk Central

Author Topic: Put text somewhere on a form  (Read 5435 times)

Majodi

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Put text somewhere on a form
« on: June 24, 2008, 11:34:25 AM »
Suppose I have a form with some fields (prompts and entry) and I would like to have some explaining text above each field or somewhere else on the form. What would be the best way to do that?

Thanks,

Majodi

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Put text somewhere on a form
« Reply #1 on: June 24, 2008, 12:44:52 PM »
You can use the Comment or Tooltips for field by field,
you can also use the subheading for certain designs to explain a form.
or add a 'display' type field and some text in amongst things...

Is that what you mean?

Majodi

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: Put text somewhere on a form
« Reply #2 on: June 24, 2008, 01:02:16 PM »
I used the subheading and tooltip. In this case I need a more prominent place on the form. Comment I have to look at. But perhaps a display field with some fixed text would do. Thanks.

But still, I'm trying to figure out the flow of things, how and where parts of a page are generated and where I best could fit in some HTML (knowing where it will end up <g>).

Majodi

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Put text somewhere on a form
« Reply #3 on: June 24, 2008, 11:34:00 PM »
Hi Majodi,

Yes it is difficult to visualise a form until you get the hang of it.

The "comment" field is explicitly designed for "explanatory text" about a field. This is the web so more explaining is necessary, and that's what the comment is there for.

Display fields also work well, but I'd recommend the comment first.

Cheers
Bruce


Majodi

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: Put text somewhere on a form
« Reply #4 on: June 25, 2008, 05:32:11 AM »
Yep, I think the comment field will work.

Thanks,

Majodi

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Put text somewhere on a form
« Reply #5 on: June 25, 2008, 06:38:58 AM »
and once you get the hang of it you can add your own comment css class to just a single comment,  I have used that to repurpose "comments" for all kinds of things.

You could for example make it big and bold,  or depending on the layout, the comment contents does not need to be related to the field it is associated with...
I recently had a screen with many columns spanned across the form, the comments become overwhelming, so i kept the fields on the left side without,  and cherry picked  where to place the comments on the right - if you are careful it can look quite sharp as it resizes with different data/sizes etc, of course its real easy to get real ugly - both with too  much data or not enough, for that"liquid" flow  - so you must combine fixed and variable techniques.