How to set Dependency on an Integer Field

Permalink Browser Info Environment
Hello again,
Hopefully this is an easy answer.
So I've got an Integer Field, followed by a Text Area.
However, I want the Text Area dependent upon the Integer Field.
Basically, I want the Text Area to show if the Integer Field isn't blank.
I've tried several ways and none seem to work:
Show—>if Integer Field—>not equal to: null

Intuitively, I'd think it should work if "not equal to: (blank)" with nothing there, as in, don't show it if they don't fill out the Integer Field.
However, Dependency Validation prevents this and says you have to enter something. I tried space and it accepts it, but doesn't work.

So what value should be used in these situations?
Thanks in advance!

Type: Pre-Sale
Status: Resolved
PatrickHenry
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Ha! You found a nice one.... :)
There is no option like "empty" or "not empty"......
Let me see if I can find a nice solution...
I'll get back to you...
PatrickHenry replied on at Permalink Reply
PatrickHenry
Cool, I'll take that as a big compliment coming from you.
The reason it's big? I've used ALOT of c5 add-ons, and can say w/o a doubt that yours are the best designed and thoughtful. So the fact I found something you hadn't already thought of makes me proud, b/c you've thought of alot.
FYI. I gave you props the other day on LinkedIn. Someone posted on the c5 forum about SMTP setup issues. I used to have to deal with Google's SMTP, the worst, but thankfully I'm on a new server and can use PHPmail() now. I pointed out from my experience SMTP sucks b/c add-on developers don't always give the "Reply To" option, which makes Forms Auto-Email replys a big pain b/c you have to monitor the SMTP acct for responses b/c most add-ons default to the "From" field for "Reply-To". But not you, and I recommended Formidable there for ya.
Hope it helps the biz!
Cheers!
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi!

Just uploaded a fix for the "empty" or "not empty" value of a field.
Let me no if it works for you!

Best,

Corretje

PS: If could be that you need to clear the cache of C5 and/or your browser because of a change in javascript.
DeWebmakers replied on at Permalink Reply
DeWebmakers
By the way, thanks for supporting my addons on LinkedIn. Creating good working and thoughtful addons and themes is what drives me :)

concrete5 Environment Information

# concrete5 Version
5.6.2.1

# concrete5 Packages
ACE InCurl (1.5), Advertisement (1.7.7), Air Slider (1.0.2), Are You A Human (1.0.1), Automatic Email Obfuscator (1.2.3), Automatic Word Obfuscator (0.9.1), Backup as a Job (1.0), Bootstrap Image Gallery (3.0.0.5), Breadcrumbs (2.0), Concrete Bricks Game (1.1), Contact Directory (1.4), Designer Content (3.1.1), Discussion (1.8.6), Document Library (1.6.4), Domain Mapper (1.1.4), Enhanced User List (1.6.0), Expand / Collapse (1.2.6), FlexJob Scheduler (1.0.2), Flickr Photos (1.2.1), Floating Header (1.1), Force SSL (2.6), Formidable (2.0.13), Formigo Social Life (1.0.4), Form Tableless Layout (1.2.1), GCalendar Viewer (1.2.1.7), Get Directions (1.0b), HTML5 Audio Player Basic (1.1.3), Instant JavaScript (1.0.1), Jquery Galleria (2.2.3), Lerteco User Importer (2.1.0b1), Magic Heading (1.3), Mail Monkey (2.1.2), Nontab Scheduler (1.1), Picmonkey Image Editor (1.00), Picturefill Image (1.1), Pro Blog (12.4.1), Pro Events (11.1.0), Pro Forms (6.0.2), ProForms Extend Example (0.0.1), Reward (1.4.3), Roundabout Gallery (2.3), Seo Manager (2.5.3), Simple Facebook Gallery (1.04), SimpleFaq (3.0.0), Site Notifications (1.0.1), Sortable Responsive Gallery (1.5), Tag Cloud (1.0.2), UnoSlider (1.5), Url Director (1.6.5), User Directories (1.5.0), Where Is My Block? (1.1), YouTube Channel (1.3.17).

# concrete5 Overrides
blocks/content, blocks/air_slider, blocks/document_library, blocks/unoslider, blocks/proforms_list, blocks/contact_directory, blocks/pro_event_list, blocks/sortable_responsive_gallery, blocks/remo_expand, blocks/proforms_display, blocks/advertisement, blocks/ace_in_curl, blocks/jl_concrete_bricks_game, blocks/youtube, blocks/html, blocks/mylab_galleria, blocks/swp_breadcrumbs, blocks/image, blocks/directories, blocks/magic_block, blocks/add_faq, blocks/jl_concrete_bricks_scores, blocks/get_directions, blocks/c5_clean_block_templates-master, blocks/discussion_post_list, blocks/problog_list, blocks/form, blocks/g_calendar_viewer, blocks/page_list, blocks/next_previous, blocks/external_form, blocks/tester, blocks/search, blocks/bootstrap_image_gallery, blocks/pmw_enhanced_user_list, blocks/autonav, controllers/members_ellucian_go_app.php, controllers/members.php, elements/discussion_messages_threaded.php, elements/profile, elements/header_required-v1.php, elements/header_required.php, elements/files, helpers/x_has_content_check.php, jobs/index_search.php, js/bootstrap-typeahead.js, js/iealert.min.js, js/bootstrap-dropdown.js, js/bootstrap-scrollspy.js, js/homePage_Tabs.js, js/bootstrap-popover.js, js/bootstrap-tooltip.js, js/modernizr.js, js/modernizr.v0.js, js/bootstrap-transition.js, js/bootstrap-collapse.js, js/bootstrap-button.js, js/modernizr.dev.js, js/remo.expand.js, js/browser-detection.js, js/bootstrap-modal.js, js/application.js, js/wow.min.js, js/bootstrap.js, js/jquery.min.js, js/jquery.feedbackBadge.min.js, js/README.md, js/bootstrap.min.js, js/bootstrap-carousel.js, js/bootstrap-tab.js, js/google-code-prettify, js/bootstrap-affix.js, js/animationsPlus.js, js/homePage_Alumni_Tabs.js, js/bootstrap-alert.js, css/css-MediaQueryDeBugger.css, css/browser-detection.css, css/animate.css, css/gcalendar_month.css, css/bootstrap.min.css, css/bootstrap.css, css/ie6.1.1.css, css/addon_support.css, css/discussion.css, css/feedbackBadge.css, css/bootstrap-responsive.css, css/bootstrap-responsive.min.css, css/iealert, css/prettify.css, libraries/change_notifications.php, mail/forgot_password.php, models/attribute, models/mail_do_admina.php, models/login_user.php, single_pages/x_members.php, single_pages/profile, single_pages/page_forbidden.php, single_pages/page_not_found.php, single_pages/x_login.v0.php, single_pages/dashboard, single_pages/register.php, single_pages/members.php, single_pages/login.php, single_pages/x_profile_v1, single_pages/x_page_not_found.v.0.php, themes/alumni2014fa, themes/ehc2012, tools/x_iCal.php, tools/ajax_cal_responsive.php, tools/get_badges_content.php

# Server Software
Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9

# Server API
cgi-fcgi

# PHP Version
5.4.39

# PHP Extensions
apc, bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, suhosin, tokenizer, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 120
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 1000
memory_limit - 256M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.4.10 (KHTML, like Gecko) Version/6.2.4 Safari/537.85.13

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.