Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

  • This topic is intended for developers with experience in XperienCentral plugin development.
  • The information in this topic applies to XperienCentral versions 10.20.0 and higher.


In a new installation, the presentation used for Interactive Forms in the Interactive Forms module is the XperienCentral default presentation. You can apply your own presentation to the Interactive Forms module in order to allow your designers to see how forms will be rendered on the front-end while creating them. This mirrors the way that the look and feel of content items are rendered in the Editor. To apply your own presentation to the Interactive Forms module, follow these steps:

  1. Open the form step presentation (formStep.jspf) in an editor.
  2. Add your own code to the JSPF. For example:

    <c:if test="${mode == 'preview'}">
    <style>
    .wm-field
    { height: 75px; }
    .wm-field-input
    { float: right; }
    </style>


    The above code is a simple example. You can obviously apply any kind of styling that you wish.

  3. Recompile the wmpformpresentation plugin.


Back to top

 

 

 

 

 

 

 

 

 

  • No labels