Edit box conditions

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Edit box conditions

Post by amir2314 »

Hi dear pablo
I have a store shop and i need to set link to my edit box

In edit box if value set to ( cv ) open window http://somthing 1
And if the value set to ( cs ) open window http://somthing 2

Ill try it with conditions with ecual to / juvascript

But its not working true ! When the valu of cs entered javascript opening all link!!! But i need to open link just exacly with value was set !

How can i do it or stop other links
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Edit box conditions

Post by Pablo »

To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.

I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Edit box conditions

Post by amir2314 »

this is the demo project

http://p-tm.top/editbox.wbs
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Edit box conditions

Post by Pablo »

The implementation is incorrect.
You will need to use 'else' for the second condition.

Please check the generated code to see why.
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Edit box conditions

Post by amir2314 »

Is there anyway to set link item in to condition bar like event ? I think its very usefull for managing product list .

For example i have to many product that every one has product cod or product id. I need to fiilling the edite box with specific product code and linking to specfic peyment link Cuase every peoduct has a specefic peyment link i waana to manage our product with this way.
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Edit box conditions

Post by Pablo »

Did you consider using a 'Go menu' instead?
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Edit box conditions

Post by amir2314 »

No ill trying now
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Edit box conditions

Post by amir2314 »

Pablo wrote: Thu Feb 24, 2022 1:10 pm Did you consider using a 'Go menu' instead?
I need to any user type a product code that i set to edit box and then edite box show the specfic peyment link of product!

Go menu jst showing the links and has not auto complete by user ! I need auto complete for this one couse i have too many prosuct and how user can find the link !?
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Edit box conditions

Post by amir2314 »

Also go menu is not responsive too
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Edit box conditions

Post by Pablo »

There is no standard solution for this, because this is very specific.
So, this will require a custom script.

However, I do not think that an editbox is the right tool for this.
Post Reply