Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible to hide the submit button for the contour form on a condition ?
Comment author was deleted
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
It is only for one form. I think best way is to add a specific rendering for the form.
Yup then you can jus adjust the script.cshtml for that particular form and manually add the condition
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?
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.
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
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted