Forum Replies Created
-
AuthorPosts
-
jessemarcoParticipantDefault 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' ) ));
jessemarcoParticipantSOLUTION:
In settings page turn off “Javascript Validation”
jessemarcoParticipantStandart post need to be set with isset
if(isset($_POST['my_var'] {)){}where to do this?
jessemarcoParticipantI have created plugin,
piklist-formsand copy therenew-post-with-validation.phpfile from add-ons part from original pluginpiklistand 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.
jessemarcoParticipantDemos is working fine, but i want my own form in my own theme from the folder
../theme/piklist/parts/form/my-form.phpand using this shortcode:[piklist_form form="my-form" add_on="theme"]it doesn’t work 🙁 -
AuthorPosts