I am using a custom theme for umbraco forms and to make conditions work for the custom theme I had to add the following to my Script.cshtml file:
Html.AddFormThemeScriptFile("~/App_Plugins/UmbracoForms/Assets/themes/default/umbracoforms.js");
But this script file umbraco.js is not loaded directly when the form is loaded on a new browser page and conditions do not work unless the site is refreshed once then the script can be seen and conditions work as expected.
What could this depend on ?