Page 1 of 1
Edit box conditions
Posted: Thu Feb 24, 2022 12:16 pm
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
Re: Edit box conditions
Posted: Thu Feb 24, 2022 12:31 pm
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
Re: Edit box conditions
Posted: Thu Feb 24, 2022 12:46 pm
by amir2314
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:00 pm
by Pablo
The implementation is incorrect.
You will need to use 'else' for the second condition.
Please check the generated code to see why.
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:04 pm
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.
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:10 pm
by Pablo
Did you consider using a 'Go menu' instead?
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:13 pm
by amir2314
No ill trying now
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:24 pm
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 !?
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:32 pm
by amir2314
Also go menu is not responsive too
Re: Edit box conditions
Posted: Thu Feb 24, 2022 1:38 pm
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.