Copied to clipboard

Flag this post as spam?

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


  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Feb 18, 2013 @ 15:21
    Dave Woestenborghs
    0

    Hide submit button on condition

    Is it possible to hide the submit button for the contour form on a condition ?

  • Comment author was deleted

    Feb 18, 2013 @ 15:34

    Conditions aren't implemented on the submit button so no way of adding it through the UI, is this for a specific form or lots of forms? Should be doable with a little addon but only makes sense if it's for a single form

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Feb 18, 2013 @ 15:55
    Dave Woestenborghs
    0

    It is only for one form. I think best way is to add a specific rendering for the form.

     

     

  • Comment author was deleted

    Feb 19, 2013 @ 09:28

    Yup then you can jus adjust the script.cshtml for that particular form and manually add the condition

  • James Jackson-South 489 posts 1747 karma points c-trib
    Sep 22, 2016 @ 06:51
    James Jackson-South
    0

    3 years later and hitting the same issue now in Umbraco Forms....

    Wouldn't editing the script page be a bad idea since that would break future upgrades?

  • Catherine Stevens 7 posts 107 karma points
    Nov 01, 2016 @ 21:29
    Catherine Stevens
    0

    James Jackson-South,

    When you upgrade you can use a tool like Beyond Compare to compare the new clean Umbraco version with your code and make sure none of your code (like in the script.cshtml file) doesn't get overwritten.

    Or just recreate the fix on the upgraded version's script.cshtml file.

  • James Jackson-South 489 posts 1747 karma points c-trib
    Nov 01, 2016 @ 23:30
    James Jackson-South
    0

    Hi Catherine,

    Thanks yeah. I could do that. (I actually made bak files in my solution of my changes with a HERE BE DRAGONS message).

    It's a shame this feature hasn't been implemented yet though as it makes upgrading unwieldy.

    I've submitted an issue. http://issues.umbraco.org/issue/CON-1175

Please Sign in or register to post replies

Write your reply to:

Draft