www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    Field Label placement in web report formats
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
Please could I clarify if there is any way in which I can have a report format for web use that places the field label to the left of the field box? There is no problem in doing this 'on screen' - and the format previews AND prieviews to HTML correctly with the label placed neatly to the left, and these can be aligned by right hand adjusting the label formatting and creating a fixed length for all labels. HOWEVER, when the report is viewed on the web, the label (although correctly formatted for font, size etc) always appears ABOVE each field and not to the left.

With our (very) old version of Webpublisher, the matter was resolved by adding a lot of HTML into the 'beginning text' and 'end text' areas - but this is clearly a lot less intuitive that using the report generator 'off the peg' - and it makes forms much harder to update.

Originally I understood that this was a limitation of HTML itself, and that side by side boxes were only supported by defining tables (which is what we did in the past). This does not APPEAR to be the case with v11 WebPublisher Pro - as the same 'trick' in defining search screens now works like a dream.

Can anyone advise?
 
Posts: 54 | Location: Brixham, Devon, UK | Registered: Wed May 22 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Left labels have been supported in WebPublisher since version 4.1.

If your form is defined to use left labels, but you're not seeing them on the Web, one of the following is probably the case:

  • Your form includes Raw HTML
  • Your form includes Inline Images (as opposed to Picture Boxes)
  • You have WebCSSOpt=0 in your DBTWPUB.INI
  • You have CS= set to 0 in your HTML query screen <input...> statements


If you have Raw HTML in your form, you can force Cascading Style Sheets (CSS), which are used for left labels and other improved formatting, on by setting WebCSSOpt=2 in the [WebPublisher] section of DBTWPUB.INI, or set CS=2 in your query screen.

If you have Treat Content Item as Inline Image in your form, you can either use a Picture Box instead (recommended) or force CSS on by using WebCSSOpt=2, etc.

Note that if you force CSS on when your form includes Raw HTML or Inline Images, you may need to design your form carefully to prevent overlapping.
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Thanks Lisa

I HAD thought left labels were OK - but was beginning to wonder. Clearly if I CAN avoid resorting to HTML fixes(only), this will be a lot slicker and easier to preview. Does this mean that if I use left labels there can be absolutely NO 'Raw HTML' ANYWHERE in any of the boxes?
 
Posts: 54 | Location: Brixham, Devon, UK | Registered: Wed May 22 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I think perhaps, I have described the problem ambiguously.

I CAN get left labels in SEARCH screens without problem - but NOT with report forms (i.e. I am unable to use these to help with formatting search output.
 
Posts: 54 | Location: Brixham, Devon, UK | Registered: Wed May 22 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Left labels are supported in both of the following places in recent versions of Inmagic products:

  • DB/TextWorks: Export Query Screen to HTML, and Export Editing Form to HTML

  • WebPublisher: dynamically-generated report, expanded display pages, and edit pages

If you have any Raw HTML in your form, CSS is turned off, and you have to force it on (using WebCSSOpt=2) if you want left labels.
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    Field Label placement in web report formats