ThemeForest

Skate Dashboard / Admin Control Template

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
djsnowb Purchased

Hi, First of all I’d like to thank you for this amazing design. On the other hand, I have a problem with the forms when I use a checkbox or a selectbox, when I select or check something, the value isn’t changed and send the default value. Do you have any solution of that problem?

Thank you, rudy.

Z-Themes

Hi,

Make sure you use unique name attribute for each element. Checkbox value will only be sent when set to “on”.

<form autocomplete="off">
    <p>
        <span class="checkbox tropical">
            <input type="checkbox" checked="checked" name="check1"/>
        </span>
    </p>
    <p>
        <span class="custom_checkbox checkbox_1 blue">
            <input type="checkbox" checked="checked" name="check2"/>
        </span>
    </p>
    <p>
        <select id="select" name="select1">
            <option value="AL">Alabama</option>
            <option value="AK">Alaska</option>
            <option value="AZ">Arizona</option>
            <option value="AR">Arkansas</option>
            <option value="CA" >California</option>
        </select>
    </p>
    <p>
        <select id="select_2" multiple="multiple" name="select2">
            <option value="AL">Alabama</option>
            <option value="AK">Alaska</option>
            <option value="AZ">Arizona</option>
            <option value="AR">Arkansas</option>
            <option value="CA" selected="selected">California</option>
        </select>
    </p>
    <p>
        <input type="submit" value="Submit">
    </p>
</form>

Default-user
djsnowb Purchased

Thank you for replying me that fast, indeed that was the problem. I am facing right now an other problem with the checkbox when I use the tabs, if a checkbox is on the first one it’s ok, but if I put one in a seconday tab then there is a problem with the display. Also, is there any way to catch the event when a checkbox status is changed? I tried with the jquery function ”.change()” but no result, could you please help me with that too :)

Thank you!!

Z-Themes

Hi again,
No problem ;)

If you use checkbox with custom labels, don’t forget to put initialization script for this, also if label is too big you need set up width with CSS . So, about checkbox status, I really don’t know how to do that.

<style type="text/css">
    .checkbox_7 .checkbox_container {
        width: 180px!important;
    }
</style>
<p>
    <span class="custom_checkbox checkbox_7 orange">
        <input type="checkbox" checked="checked"/>
    </span>
</p>
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
djsnowb Purchased

Hello, I have an other problem with this theme and you might be able to help me out with it :). In one of my form, I need to upload an image except that I don’t get anything on the other side and in the input, I get something like “C:\fakepath\pic.png”, I m on mac. I also tried from an Ipad, and when I want to upload a file, nothing happens, how to make it work on tablets?

Thanks again for your help, Cheers!

Z-Themes

Hello, It’s a security feature for masking the original path, just use the following code:

http://snippi.com/s/4ee0ync

Thanks for finding this, I will update theme as soon as possible

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

How do I wrap several div containers inside a form? If I move the form tags out of the content div the combine fields become full size fields instead of being split 50/50.

Z-Themes

Here is an example of container with two sections and form elements inside:

Z-Themes
<div class="container">
    <div class="box">
        <div class="head">
            <h2>
                <span class="icon ws">R</span>
                <span class="title">Box With Two Sections</span>
            </h2>
        </div>
        <div class="content">
            <form id="awesome_form_3" autocomplete="off">
                <div class="content_left">
                    <p>
                        Content Left
                    </p>
                    <p>
                        <input id="first_name" type="text" placeholder="First Name">
                    </p>
                    <p>
                        <input id="last_name" type="text" placeholder="Last Name">
                    </p>
                </div>
                <div class="content_right">
                    <p>
                        <input id="tags" class="tags" value="Foo,Bar,Baz,Tag,Tag2,Tag3,ActionScript,Mac,iPad,Java,Php,Program,Scripting,Ruby,Action!,JavaScript,Python,Perl,Shell,Delphi,System,Language,Application,ios,Xcode" />
                    </p>
                    <p>
                        Content Right
                    </p>
                    <p>
                        <input class="red" type="submit" value="Submit">
                    </p>
                </div>
            </form>
        </div>
    </div>
</div>
Default-user
Thanks for the quick reply, we have a page that is made up of several containers (Company, Categories, Contacts etc) and ideally need to place the form tags like in the following example:
<form id="awesome_form_3" autocomplete="off">
<div class="container">
    <div class="box">
        <div class="head">
            <h2>
                <span class="icon ws">R</span>
                <span class="title">Box Section 1</span>
            </h2>
        </div>
        <div class="content">
                <div class="content_left">
                    <p>
                        Content Left
                    </p>
                    <p>
                        <input id="first_name" type="text" placeholder="First Name">
                    </p>
                    <p>
                        <input id="last_name" type="text" placeholder="Last Name">
                    </p>
                </div>
                <div class="content_right">
                    <p>
                        <input id="tags" class="tags" value="Foo,Bar,Baz,Tag,Tag2,Tag3,ActionScript,Mac,iPad,Java,Php,Program,Scripting,Ruby,Action!,JavaScript,Python,Perl,Shell,Delphi,System,Language,Application,ios,Xcode" />
                    </p>
                    <p>
                        Content Right
                    </p>
                </div>

        </div>
    </div>
</div>

<div class="container">
    <div class="box">
        <div class="head">
            <h2>
                <span class="icon ws">R</span>
                <span class="title">Box Section 2</span>
            </h2>
        </div>
        <div class="content">
                    <p>
                        <input id="example text" type="text" placeholder="First Name">
                    </p>

                    <p>
                        <input class="red" type="submit" value="Submit">
                    </p>
        </div>
    </div>
</div>

</form>

Z-Themes

If you would like to use it in a single container, look at this example:

Z-Themes
<div class="container">
    <div class="box">
        <div class="head">
            <h2>
                <span class="icon ws">R</span>
                <span class="title">Sample Box</span>
            </h2>
        </div>
        <div class="content">
            <p>
                Content Here
            </p>
        </div>
        <div class="content">
            <div class="content_left">
                <p>
                    Content Left
                </p>
            </div>
            <div class="content_right">
                <p>
                    Content Right
                </p>
            </div>
        </div>
    </div>
</div>
by
by
by
by
by