Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: checkboxes – This value is not valid #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 4 years, 6 months ago by amator.
    • This reply was modified 4 years, 6 months ago by Ally. Reason: Formatted code
    in reply to: checkboxes – This value is not valid #32284
    amator
    Participant

    I’ve send you details.

    in reply to: checkboxes – This value is not valid #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.

    in reply to: Issue with uploading files #32277
    amator
    Participant

    Looks like there is some issues with Litespeed cache plugin. Can you help me fix that?

    in reply to: Calculate Age from Date of Birth #32260
    amator
    Participant

    Great! Thank you again!

    Maybe in the future you can add new field “age”, to be calculated form date form. Or other simple “math” functions 🙂 I think a lot of people need this.

    Or adding custom js code to each form separately (not one for every form) also might help (for someone who know js). But for all other people simple math should be enough

    in reply to: Calculate Age from Date of Birth #32255
    amator
    Participant

    Hi Ally,

    What if I need calculate Age in two or more forms? I try with:

    $dateField = $(‘.quform-field-1_3’),
    $dateField = $(‘.quform-field-3_32’),
    $hiddenField = $(‘.quform-field-1_4’),
    $hiddenField = $(‘.quform-field-3_33’),

    but this not work 🙂

    in reply to: Minimum time length #32239
    amator
    Participant

    Thank you! I don’t know why I found your plugin so late. Definitely one of the best forms plugin on market. Keep it up!

    in reply to: Calculate Age #32230
    amator
    Participant

    It Works perfect!
    thank You!

Viewing 8 posts - 1 through 8 (of 8 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy