• Hi Tom and Team,

    I am implementing the User Campaign plugin feature at my website but I am facing two constrains:

    1. It seems the following code (from class-wc-crowdfunding-shortcodes-products-add-form.php) avoids the possibility to add input date field, input time field, textarea fields with the Campaign Form. Is that a way to change or filter that restriction?

    switch ( $type ) {
    				case 'price':
    					$type = 'number';
    					$custom_attributes = ' min="0" step="0.01"';
    					break;
    				case 'number';
    					$custom_attributes = ' min="0"';
    					break;
    				case 'checkbox';
    					$custom_attributes = checked( $value, 'yes', false );
    					break;
    				case 'date';
    					$type = 'text';
    					$custom_attributes = ' display="alg_crowdfunding_date"';
    					break;
    				case 'time';
    					$type = 'text';
    					$custom_attributes = ' display="alg_crowdfunding_time"';
    					break;
    			}

    2. How can I use CSS to apply some style to the campaign form?

    Thanks a lot.

    BR.
    Eduardo

Viewing 1 replies (of 1 total)
  • Thread Starter eagomes

    (@eagomes)

    Hello Tom and Team,

    Sorry to come back to you but could you please send me a reply about those two points?

    Thanks in advance for your support.

    Best regards.
    Eduardo

Viewing 1 replies (of 1 total)
  • The topic ‘Campaign fields restriction and CSS use’ is closed to new replies.