Wednesday, August 10, 2011

Oracle WebCenter Interaction: Font Tweak for Studio Form Layouts

Here is a little tip for anyone out there that might still be using the Studio forms & survey product.
When you create a new form it creates a label and input field.  The label field is bold, and for whatever reason can't be un-bolded.  This can be undesirable, so I'll explain how to replace the label fields with standard text fields which will remedy the issue allowing you to use any font size and decoration.

This is how a standard form displays


This is the default layout from the form above



The trick in getting rid of the bold is to:
  1. create a new column
  2. move the label field into the new cell
  3. delete the text from the label field
  4. then add text to the original cell
Stepping through all of that:

Create a new column on the far right side of the form.  This is done because it helps to keep your label fields (which can't be deleted) aligned with the input fields.  Then drag and drop your label fields from the far left to the far right column.


Double-click on the cell in the first column to start entering text.  Another beauty of this technique is that it allows you to name your data fields one thing, and in your form you can use more descriptive text.  This can be a HUGE help when it comes to report layouts which have no choice but to use the label fields, so generally you want to keep them as short as possible.


Once your new labels have been created you can double click in the original label field (on the far right) and delete out the text.  Once you've deleted all the text fields you should consider shrinking that column so as not to waste space on the form.


Now you can save up your form and reload your portlet and it should be a lot more aesthetically pleasing, or at the very least it'll give you some flexibility!

1 comment:

  1. Excellent resource. The remedy that you have suggested to solve this issue is absolute. After learning this way I am completely amazed with your knowledge. Thanks for this nice solution.
    oracle r12 documentation

    ReplyDelete