Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • jayanthi 66 posts 86 karma points
    Jul 28, 2011 @ 13:04

    Place plain text in contour form?



    How can i place static plain text into contour form before submit button.

  • Comment author was deleted

    Aug 01, 2011 @ 10:34

    Well you could create a label fieldtype, that doesn't have any input control but just some text.

    To get started take a look at the contour shared sourcecode:

  • jayanthi 66 posts 86 karma points
    Aug 01, 2011 @ 11:15

    Able to insert  few paragraphs of text by using JQuery.Please suggest if any have any other ideas?

  • Grant Thomas 291 posts 324 karma points
    Jun 26, 2012 @ 17:37
    Grant Thomas

    The best I could find was, without having to faff about looking for third party components that you then have to begin considering the reliability (and whatever else) of, to create a 'Description' field of type 'Hiddenfield' and specify the value as part of the form. This allows for the hiddens to be swapped out for visibles using the value as content with jQuery's `replace`.

    This is far from ideal, and just as much a carry on as going, getting and using a non-standard element; but showed benefits in the immediate, with more time I would seriously consider a separate control or making my own.

    As a side note, this, in my opinion, should be standard functionality, i.e. adding inputless labels, text between fieldsets and supporting rich text (by just not stripping it out!).

Please Sign in or register to post replies

Write your reply to: