checkboxes – This value is not valid

Home Forums Quform WordPress checkboxes – This value is not valid

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32278
    amator
    Participant

    Hi,

    When I choose checkbox with longer text I got error message “This value is not valid”. How I can enable longer values here?

    #32279
    amator
    Participant

    Looks like checkbox field don’t line “z” sign.
    Try add new value, for example “z z z”. When I try choose this value on front end, there is a error “this value is not valid”.

    Other options like “Dom z basenem” where is also “z” gives error.

    #32283
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #32284
    amator
    Participant

    I’ve send you details.

    #32285
    amator
    Participant

    This is issue with Orphans plugin. Here is solution:

    if ( ! class_exists( 'iworks_orphans_skip_entries' ) ) {
    	class iworks_orphans_skip_entries {
    		/**
    		 * List of entries IDs to skip!
    		 */
    		private $skip_ids_list = array(
    			1175,
    		);
    
    		public function __construct() {
    			add_filter( 'orphan_skip_replacement', array( $this, 'skip' ) );
    		}
    
    		public function skip( $status ) {
    			if ( ! is_main_query() ) {
    				return $status;
    			}
    			$post_ID = get_the_ID();
    			if ( in_array( $post_ID, $this->skip_ids_list ) ) {
    				return true;
    			}
    			return $status;
    		}
    	}
    }
    
    new iworks_orphans_skip_entries;

    Add it to functions.php of your child theme
    Add here your pages id where you have forms to disable Orphan plugin.

    private $skip_ids_list = array(
    			1175,
    • This reply was modified 3 years, 3 months ago by amator.
    • This reply was modified 3 years, 3 months ago by Ally. Reason: Formatted code
    #32290
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy