Using Inline Styles To Style An Adaptive Form

Using Inline Styles To Style An Adaptive Form

Continuing our conversation on styling adaptive forms, I want to look at inline styling as our second method for styling an adaptive form. When it comes to specifying inline styling rules it is done in a similar fashion to theme but there are some major differences between the two that I want to call out.

Unlike a theme that can be associated to multiple forms to ensure a standard across all the adaptive forms is maintained, leveraging inline styling is specific to only that individual form. Further to this when using inline styling you are styling each individual element rather than at a component level. This allows for a high level of customization to the appearance of the adaptive form but will increase the amount of work for the form creator, as they are now responsible for adding the styling to the form, as well as increasing the cost to maintain, as there is no central location to roll out branding changes and increase the time to market, as none of the styling is modularized.

To add inline style to an adaptive form, open the form in Author mode and change the mode to Style rather than the default Edit. This will update the side rail to now show the hierarchy of the form elements and rather than be able to change their functional properties you are able to set their styling properties. You can also open the style panel for an element by clicking the field from the viewing pane.

Once the element has been selected you are able to set the styling for that element by using the drop-down options. This is organized in the same fashion as the theme editor and allows for straight CSS to be added to the element in the advanced tab.

A nice feature in the inline styling is the ability to copy a style definition from one element to another within the adaptive form. You can only copy the style of one element to another element of the same component type, but this does speed up the process of styling an entire adaptive form through the inline style option.

Generally, inline styling is not recommended for setting the branding for your adaptive forms because it is done at a once off for each form and breaks the reusability of Adobe Experience Manager Forms modular design. That is not to say there is never a time or place for when the inline style should be used. Understanding how inline styling works along with the pros and cons to its functionality will allow you to make a stronger plan for your specific adaptive form implementation.?

要查看或添加评论,请登录

Angèle Taylor的更多文章

  • The Evolution Of Forms: Conclusion

    The Evolution Of Forms: Conclusion

    It has been a very interesting experience to be able to reflect on where forms started, how they evolved and where they…

  • The Evolution Of Forms: The Experience Era

    The Evolution Of Forms: The Experience Era

    Although technology and forms have been tightly coupled since their inception, forms have also had a tight bond with…

  • The Evolution Of Forms: Revitalized Era

    The Evolution Of Forms: Revitalized Era

    Once we can get past the Revival era and have now setup or forms in modular framework, we will know be able to tack…

  • The Evolution Of Forms: The Future Of Forms

    The Evolution Of Forms: The Future Of Forms

    Forms have come along way since their birth in the Inception Era in 2100BC but there is still a long road ahead for…

  • The Evolution Of Forms: The Revival Era

    The Evolution Of Forms: The Revival Era

    This era in forms will be a tough one. We are looking at big change and society has always been opposed to change, but…

  • The Evolution Of Forms: The Bound Era

    The Evolution Of Forms: The Bound Era

    The Bound Era is where advancement in forms lost pace with emerging technologies. Technology was moving so fast and…

  • The Evolution of Forms: Modern Forms

    The Evolution of Forms: Modern Forms

    We are in a very interesting place historically in relation to forms. It is hard to see it when we are living in it but…

  • The Evolution of Forms: The Standardized Era

    The Evolution of Forms: The Standardized Era

    The next distinct era of forms, the Standardized Era is tightly coupled with the industrial boom. Forms had already…

  • The Evolution of Forms: The Privileged Era

    The Evolution of Forms: The Privileged Era

    Just as with the Inception Era, the Privileged Era came about due to another advancement in technology. This piece of…

  • The Evolution of Forms: The Inception Era

    The Evolution of Forms: The Inception Era

    The birth of forms, what a good place to start when exploring the different eras of forms! The birth of forms happened…

社区洞察

其他会员也浏览了