Copied to clipboard

Flag this post as spam?

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


  • John C Scott 473 posts 1183 karma points
    Dec 07, 2010 @ 11:17
    John C Scott
    0

    editing html output

    Is there an easy way to change the HTML output for the Courier form?

    For example I would like to remove the <BR /> 

    I am using  Courier 1.1.2 with Umbraco 4.0.42

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Dec 07, 2010 @ 13:07
    Ismail Mayat
    0

    take a look at renderform.ascx any brs there you can remove however be aware when you upgrade then you will lose changes.  If brs are inserted in via codebehind the you wont be able to update.


    Regards

    Ismail

  • John C Scott 473 posts 1183 karma points
    Dec 07, 2010 @ 13:19
    John C Scott
    0

    thanks Ismail - that looks like a great idea- i'll give that a try

    have been looking at this article by Anthony Dang
    http://www.farmcode.org/post/2010/03/26/Regionalizing-validation-messages-and-regex-in-Umbraco-Contour.aspx

    I'm wondering if a similar approach could work?

    but is the existing code for this available if I over-ride it?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Dec 07, 2010 @ 14:19
    Ismail Mayat
    0

    yup existing code will still run i have done it see here

    Regards

    Ismail

  • John C Scott 473 posts 1183 karma points
    Dec 07, 2010 @ 14:52
    John C Scott
    0

    thanks Ismail - that's really helpful - thank you again :)

Please Sign in or register to post replies

Write your reply to:

Draft