Dependency Requirements

Permalink Browser Info Environment
If you have a *required* field and it is dependent on another field to display, and that field (a checkbox, say) is *not* selected, will the form correctly ignore the required state when completing the form?

Type: Discussion
Status: Resolved
TeKnoZiz
View Replies:
patej replied on at Permalink Reply
patej
You're reading my mind! :) I came here to file a request to be able to change the requiredness of a field with dependencies, but what you ask could actually be enough. Unfortunately that cannot be tested before the "dependencies not saved" bug is fixed..
DeWebmakers replied on at Permalink Reply
DeWebmakers
Required fields which are disabled by dependencies are skipped in the validation process.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4
Database Version - 20180717000000

# concrete5 Packages
Background Image and Overlay (0.9.9), ExchangeCore reCAPTCHA (1.1.1), Formidable (Full Version) (2.0.2), Formify (3.2.0.3), List files from set (1.0.13), Overlay Gallery (2.0), Page Redirect (2.0), Page Selector Attribute (2.0), Quick Tabs (1.0), Spacer (0.9.4), Supermint Theme (3.4.1.3), SVG Image (0.9.7), SVG Social Media Icons (0.9.9), Vivid Simple Accordion (1.0.1), Webli Content PopUp (2.0), Whale OWL Carousel (2.5.8)

# concrete5 Overrides
blocks/feature/view.php, blocks/feature/templates/supermint_block_button.php, blocks/feature/templates/supermint_tiny-box.php, blocks/feature/templates/supermint_address.php, blocks/feature/templates/supermint_classic.php, blocks/feature/templates/supermint_tiny.php, blocks/feature/templates/supermint_box.php, blocks/feature/templates/supermint_table.php, blocks/feature/templates/supermint_callout.php, blocks/feature/templates/supermint_standard_fixed_height.php, blocks/feature/templates, blocks/feature, blocks/whale_owl_carousel/view.php, blocks/whale_owl_carousel, blocks/formify_form/images/processing.gif, blocks/formify_form/images/select.png, blocks/formify_form/images, blocks/formify_form/view.php, blocks/formify_form/view.css, blocks/formify_form/templates/rehab3_form/view.php, blocks/formify_form/templates/rehab3_form/view.css, blocks/formify_form/templates/rehab3_form/view.js, blocks/formify_form/templates/rehab3_form, blocks/formify_form/templates, blocks/formify_form/view.js, blocks/formify_form, blocks/webli_content_popup/templates/team-bios/view.php, blocks/webli_content_popup/templates/team-bios/view.css, blocks/webli_content_popup/templates/team-bios, blocks/webli_content_popup/templates, blocks/webli_content_popup, themes/supermint/elements/multiple_area.php, themes/supermint/elements/bottom.php, themes/supermint/elements/backstretch.php, themes/supermint/elements/top_bar.php, themes/supermint/elements/footer.php, themes/supermint/elements/intro.php, themes/supermint/elements/head.php, themes/supermint/elements/other_page-types/view.php, themes/supermint/elements/other_page-types, themes/supermint/elements/header.php, themes/supermint/elements/navigation.php, themes/supermint/elements/ribbon.php, themes/supermint/elements, themes/supermint/css/main.less, themes/supermint/css/thumbnail.png, themes/supermint/css/styles.xml, themes/supermint/css/supermint.css, themes/supermint/css/addons/YTPlayer.css, themes/supermint/css/addons/animate.css, themes/supermint/css/addons/jquery.magnific-popup.css, themes/supermint/css/addons/mega-menu.css, themes/supermint/css/addons/slick.css, themes/supermint/css/addons/jquery.transit.css, themes/supermint/css/addons/fonts/slick.svg, themes/supermint/css/addons/fonts/slick.woff, themes/supermint/css/addons/fonts/slick.eot, themes/supermint/css/addons/fonts/slick.ttf, themes/supermint/css/addons/fonts, themes/supermint/css/addons/button/button-flat.less, themes/supermint/css/addons/button/for.less, themes/supermint/css/addons/button/button-plain.less, themes/supermint/css/addons/button/button-push.less, themes/supermint/css/addons/button/button-util.less, themes/supermint/css/addons/button, themes/supermint/css/addons/bootstrap.custom.min.css, themes/supermint/css/addons/slick-theme.css, themes/supermint/css/addons/hint.less, themes/supermint/css/addons/jquery.mmenu.all.css, themes/supermint/css/addons, themes/supermint/css/presets/portfolied.less, themes/supermint/css/presets/business.less, themes/supermint/css/presets/defaults.less, themes/supermint/css/presets/fooder.less, themes/supermint/css/presets, themes/supermint/css/build/alerts.less, themes/supermint/css/build/hr.less, themes/supermint/css/build/page.less, themes/supermint/css/build/hacks.less, themes/supermint/css/build/accordion.less, themes/supermint/css/build/blocks/page-list.less, themes/supermint/css/build/blocks/tags.less, themes/supermint/css/build/blocks/image-slider.less, themes/supermint/css/build/blocks, themes/supermint/css/build/typography.less, themes/supermint/css/build/ribbon.less, themes/supermint/css/build/mixins/vendor-prefixes.less, themes/supermint/css/build/mixins/triangle.less, themes/supermint/css/build/mixins/misc.less, themes/supermint/css/build/mixins, themes/supermint/css/build/mixins.less, themes/supermint/css/build/blocks.less, themes/supermint/css/build/addons.less, themes/supermint/css/build/images.less, themes/supermint/css/build/addons/mmenu-theme.less, themes/supermint/css/build/addons/slick-theme.less, themes/supermint/css/build/addons, themes/supermint/css/build/area-classes.less, themes/supermint/css/build/navigation-full-screen.less, themes/supermint/css/build/misc.less, themes/supermint/css/build/stack.less, themes/supermint/css/build/navigations.less, themes/supermint/css/build/responsive.less, themes/supermint/css/build/tabs.less, themes/supermint/css/build/scaffolding.less, themes/supermint/css/build, themes/supermint/css, themes/supermint

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.0.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 1000
memory_limit - 768M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 2000
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.