Cheeser2K
Forum Replies Created
-
Forum: Plugins
In reply to: [SearchIQ - The Search Solution] Search results page on mobilesThanks, that worked. Didn’t expect that turning it off would make the display the same for mobile as desktop.
Forum: Plugins
In reply to: [SearchIQ - The Search Solution] Search results page on mobilesearbudsnz.co.nz
Hi, it’s earbudsnz.co.nz
Seems to be behaving today – temporary glitch?
Ok, got it working using your way. I was missing the braces surrounding the statements after the if and else instructions.
The remaining side effect is that the order emails contain the Other field entry (I used “n/a” instead of “IsVisible=false”).
I would still prefer you eventually re-write it using my suggested manner though, as that is more logical. And obviously without hard-coding the field name. Hope you can get around to it soon.
Hi heolixfy
Unfortunately, that hasn’t fixed it. It is breaking the visibility rule of the second text box – it is now always visible, regardless of the parent selection.
I’ll try and explain the problem in psuedo-code:
// prevent validation check against non-visible child fields that are set to required
if (parentSelection != “other”) and (childTextBox.requiredField = true)
{
set childTextBox.requiredField to false;
set childTextBox.visibility to visibilitySetting;
}if (parentSelection = “other”)
{
set childTextBox.requiredField to requiredSetting;
set childTextBox.visibility to visibilitySetting;
}I need the “other” textbox to not be validated when clicking Place Order if is a required textbox but isn’t visible. So even though it’s required when visible, it should be not-required when invisible.
Hope that makes sense?
Cheers
cheeser2k