Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Set default palettes in colorpicker field #7404
    jessemarco
    Participant

    Default value can be set by value also

    piklist('field', array(
        'type' => 'colorpicker'
        ,'field' => 'colorpicker'
        ,'label' => 'Choose a color'
        ,'value' => '#aee029'
        ,'description' => 'Click in the box to select a color.'
        ,'help' => 'This is help text.'
        ,'attributes' => array(
          'class' => 'text'
        )
      ));
    in reply to: click 2 times before submission post #7402
    jessemarco
    Participant

    SOLUTION:
    In settings page turn off “Javascript Validation”

    in reply to: click 2 times before submission post #7398
    jessemarco
    Participant

    Standart post need to be set with isset

    if(isset($_POST['my_var'] {)){}

    where to do this?

    in reply to: Shortcode form do not wok! #7392
    jessemarco
    Participant

    I have created plugin, piklist-forms and copy there new-post-with-validation.php file from add-ons part from original plugin piklist and I used shortcode [piklist_form form="new-post-with-validation" add_on="piklist-forms"]. That made the magic. Now I do not need parts in theme, just my own plugin. 🙂

    Thank you for help.

    I am still curious why this shortcode [piklist_form form="new-post-with-validation" add_on="theme"] not works if parts are in theme.

    in reply to: Shortcode form do not wok! #7391
    jessemarco
    Participant

    Demos is working fine, but i want my own form in my own theme from the folder ../theme/piklist/parts/form/my-form.php and using this shortcode: [piklist_form form="my-form" add_on="theme"] it doesn’t work 🙁

Viewing 5 posts - 1 through 5 (of 5 total)