• Resolved Matt

    (@msjanoah)


    Hello,

    I am a newby to WordPress so please forgive me if I am way off track.

    I’m using the following code because I don’t want the public to see any database information unless they enter the exact string of characters that are in one of the column.

    [pdb_list search=true filter=”id=0″ fields=”first_name,last_name,certification_number,type_of_certification,date_issued” filter=”id=0″]

    This works fine until I hit the clear button. Hitting the clear button overrides the filter=”id=0″ shortcode, and it makes my entire list appear to the public.

    Is there any way to remove the clear button?

    Thanks,
    Matt

    http://wordpress.org/extend/plugins/participants-database/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Hmmm,the “clear” button does not normally override the shortcode filter and expose the entire list, so something is not right.

    Can you share a link so I can see what the issue might be?

    If you really just want to hide the “clear” button, that is not difficult to do with a CSS rule: input[value="Clear"] { display:none }

    This isn’t the cause of the problem, but you have the “filter” attribute in the shortcode twice, you should delete one of them.

    Thread Starter Matt

    (@msjanoah)

    Thanks for your quick response. Here is the page link;

    http://www.freembb.com/?page_id=143&preview=true

    If you enter anything into the search box, everything works.

    Next, select the clear button, and you’ll see the list appear.

    Next, hit the clear button again, and the list will go away.

    Thread Starter Matt

    (@msjanoah)

    The CSS rule above doesn’t work… Nothing happened.

    Thread Starter Matt

    (@msjanoah)

    Never mind. It worked. I’m just going with this CSS fix because it’s the simplest and quickest way.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Clear Button’ is closed to new replies.