For example, our form has a field for “enter your requested email address” and we cannot create an email address that has “realtor” in it.
So it would be great if “johnsmithrealtor” could show a conditional field that says “this entry is not valid and will be rejected” or something like that.
Currently, as far as I can tell, the field would have to have only “realtor” and nothing else before or after it for the conditional field to show.
So a rule something like:
show [invalidemail] if [requestedemail] contains “realtor”
]]>I use Apache 2.2 with Google PageSpeed enabled.
Even when i disable PageSpeed and remove all the cache, the problem is still there.
What can i do to get rid of it?
What is causing this problem? Can some help me in the right direction?
Remco
]]>I found a bug with the “contains” conditional operator of profile fields.
The operator works fine when viewing a profile, but it doesn’t work when editing the profile.
More precisely, it looks like “contains” behaves like “equals to” in edit mode.
To reproduce the issue :
– create a text field with meta key “abc” and default value “XYZ”
– create any field with conditionnal rule : “show” if “abc” “contains” “XYZ”
– save, go to the user page.
In view mode, the second field is shows up.
Edit user profile : the second field still shows up.
If you change “XYZ” to anything else, including a string containing “XYZ”, the field disappears.
Latest UM and WP versions.
Could you have a look at this, please ?
Thanks,
Have a good day !
I import discount codes, some are percentage, some are monetary, some are neither.
Can I set the Product Attribute depending on what is in the Discount field in the import?
For example, if the discount field contains $xx, set the Attribute to Money off, if it contains XX%, set it to Percent off. If it contains neither, set it to Special Offer. I suppose that’s 3 IFs actually.
I hope that makes sense?
Any help appreciated, it would save me a lot of trial-and-error.
Thank you in advance.
https://www.ads-software.com/plugins/wp-all-import/
]]>'visible' => array('brand', 'contains', ['Apple'])
but it throws a fatal error when I use the following:
$meta_boxes[] = array(
'id' => 'he_subtitle',
'title' => __( 'HE Sub-Title', 'he_subtitle' ),
'post_types' => 'courses',
'priority' => 'low',
'autosave' => true,
'context' => 'side',
'visible' => array('course_type_select', 'contains', ['32','35']),
'fields' => array(
// Course reference code
array(
'name' => __( '' ),
'id' => "{$prefix}he_subtitle",
'desc' => __( 'HE sub-title (Year of entry)' ),
'type' => 'text',
),
),
);
I also tried array() instead of [] which sorts the error but still doesn’t work, the only way i can get to to work is to use a single ID value.
https://www.ads-software.com/plugins/meta-box/
]]>A bit hard to optimize this way Hope there is a fix for this.
kind regard,
Joeri
https://www.ads-software.com/plugins/wordpress-seo/
]]>Oh, wait, let’s just look at the code….
Changed
input type=”hidden” name=”business” value=”[ email deleted ]“
To
input type=”hidden” name=”business” value=”[ email deleted ]“
https://www.ads-software.com/plugins/social-slider/
]]>https://www.ads-software.com/plugins/social-slider/
]]>