Page 1 of 1

Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 11:36 am
by plessas
Hello Everyone, Can i Add values from two or more text boxes to one other text box as result?
like

TextBox1, value =10
TextBox2, value =20

TextBox3, value = (TextBox1, value =10) + (TextBox2, value =20) =30

i'm trying to add (TextBox1.value) + (TextBox2.value), to textBox3 value property but i have no resut

i dont know if i make syntax mistake or that would be impossible

Please notice that i know nothing from PHP Language
if your answer need code please give me some example

Once more thank you for your time!!

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 11:56 am
by Pablo
This can be done with conditions:
https://wysiwygwebbuilder.com/conditions.html

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 12:04 pm
by plessas
Great!!!! Thank YOU VERY VERY MUCH!!!

:D :D :D

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 12:06 pm
by plessas
Can I also apply this and for the QRcode extension?
can you suggest me about?

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 12:23 pm
by Pablo
No, conditions only work with form elements.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 1:27 pm
by plessas
Please give me an example.
If i Want the contens of a Textbox as QRcode

i'try with conditions of Textbox, but...


What can i do?
i must fill the Text property of QRCode? With what?

or i must type some code?

Can you give me an example or any help?

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 2:13 pm
by BaconFries
What you are asking cannot be done by just textboxs alone it will require a custom script. Please see the following url below. Note no help is offered to implement as it is understood if you wish to use you will know how to use.
https://stackoverflow.com/questions/433 ... tbox-input

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 2:38 pm
by wwonderfull
plessas wrote: Tue Sep 06, 2022 1:27 pm Please give me an example.
If i Want the contens of a Textbox as QRcode

i'try with conditions of Textbox, but...


What can i do?
i must fill the Text property of QRCode? With what?

or i must type some code?

Can you give me an example or any help?
Maybe I can help you with that with some custom script. If you want you can contact me through our website if flexible.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 2:46 pm
by BaconFries
@wwonderfull if you are so wonderful then why not just provide the solution here which may help others instead of having to contact you through your site...

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Tue Sep 06, 2022 3:47 pm
by wwonderfull
BaconFries wrote: Tue Sep 06, 2022 2:46 pm @wwonderfull if you are so wonderful then why not just provide the solution here which may help others instead of having to contact you through your site...
Would have loved to claim the name but as the textbox 1 and 2 mixes result in text box 3 I need to work on his demo project so waiting for that. If he can provide that openly then the solution will be posted here in the forum if he wants privacy then he can contact using the website. Both options available. There are many ways to create the qr code and also different scripts for solution. It can be done with a button without a button auto generating upon typing, generating upon enter and also downloads. So many scripts found.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 3:56 am
by plessas
Thank you all for helping me !!
Especialy Pablo, BaconFries and wwonderfull.

When i ask for help ofcourse i dont want privacy. Your help for me will be usefull for someone else.

Pablo, Thank you once more!
BaconFries thank you, i'll try your suggestion and hope find solution
wwonderfull, i'll be thankfull when you find free time and post in public any solution.

Thank you all!!
With Respect

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 8:03 am
by wwonderfull
plessas wrote: Wed Sep 07, 2022 3:56 am wwonderfull, i'll be thankfull when you find free time and post in public any solution.
Thank you all!!
With Respect
In that case do you want to just generate the image or do you also wish to have a download button you have to be specific of what kind of result you want as the script will differ depending on it.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 9:40 am
by plessas
i need justgenerate the image

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 9:52 am
by wwonderfull
plessas wrote: Wed Sep 07, 2022 9:40 am i need justgenerate the image
What are the values in editbox1 one and editbox 2? Does it contain text or numbers or everything which is typeable.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 10:09 am
by wwonderfull
One other thing is filling box 1 and box 2 required meaning do they have to fill the 2nd box along with the 1st box? Can you share a demo image if possible.

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 1:47 pm
by BaconFries
@plessas hers is a codepen for your consideration. Note I am not the author of this just sharing for you to see.
With this one you can use a url or text and then hit the button to generate
https://codepen.io/saebifar/pen/jvYmoQ
And from geeksforgeeks
https://www.geeksforgeeks.org/qr-code-g ... nd-jquery/

Re: Add Text Boxes Values to Other Text Box as Result

Posted: Wed Sep 07, 2022 4:46 pm
by wwonderfull
In terms of the (editbox 1 + editbox 2) = editbox 3

This was experimented

Image