Support Forum

 
You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Hide field unless…. is = to … not working

Information/How to
No Tags
UserPost

2:23 pm
November 30, 2010


Darrin

1

I have a text input field that I am telling to hide unless another combo box has a "yes" value but the text input field always shows up.  Any clue where to look on what is breaking this hide feature?

 

Thanks,

 

-Darrin

3:01 pm
November 30, 2010


Steph

2

If you have any javascript errors on the page, this probably won't work. Checking for javascript errors will be different depending on what browser you are using.

8:36 pm
November 30, 2010


Darrin

3

Steph said:

If you have any javascript errors on the page, this probably won't work. Checking for javascript errors will be different depending on what browser you are using.


Ah, Firefox was not showing an error, but IE did. 

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Wed, 1 Dec 2010 03:28:14 UTC

Message: Syntax error
Line: 168
Char: 45
Code: 0
URI: myweb…/wp/wordpress/?page_id=292

—————–

It doesn't like the <

<p><script type="text/javascript">
jQuery(document).ready(function($){
    $('#frm_field_94_container').hide();
    if ($('#item_meta85 option:selected').val() == 'Yes')
        $('#frm_field_94_container').show();</p>

 

-Darrin

8:28 am
December 1, 2010


Steph

4

It looks like WordPress is adding in auto paragraphs where it shouldn't. You must have a plugin (or most likely your theme), that is filtering the already filtered content. Is your site in a position where you can try temporaily switching out your theme and turning of plugins on by one so you can find the issue?

10:18 am
December 1, 2010


Darrin

5

Let me see what I can do to test.

 

Thanks,

 

-Darrin

2:55 pm
December 1, 2010


Darrin

6

You were correct.  It was my theme causing the issue.  I am not sure how to fix it though.  I am using the following theme:

Striking 2.1 by Kaptinlin

5:50 pm
December 1, 2010


Steph

7

Please contact the theme developer. Sorry.

6:57 am
December 2, 2010


Darrin

8

Thanks.  I will do so.

10:54 am
December 2, 2010


Darrin

9

Update:

 

wrapping the page code in [raw] [/raw] fixed the issue with the Striking theme.

 

[raw]<h2>Click a date, fill out the form and hit Submit!</h2>
{formidable id=2}<BR> <BR>[/raw]

 

Thanks,

 

-Darrin

Information/How to
No Tags