Add Text Boxes Values to Other Text Box as Result

Issues related to forms.
Post Reply
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

Add Text Boxes Values to Other Text Box as Result

Post 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!!
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

This can be done with conditions:
https://wysiwygwebbuilder.com/conditions.html
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

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

Post by plessas »

Great!!!! Thank YOU VERY VERY MUCH!!!

:D :D :D
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

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

Post by plessas »

Can I also apply this and for the QRcode extension?
can you suggest me about?
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

No, conditions only work with form elements.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

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

Post 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?
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post 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.
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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...
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post 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.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

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

Post 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
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post 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.
plessas
 
 
Posts: 26
Joined: Sun Jul 04, 2021 3:54 pm

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

Post by plessas »

i need justgenerate the image
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post 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.
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post 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.
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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/
wwonderfull
 
 
Posts: 1440
Joined: Fri Aug 21, 2020 8:27 am
Contact:

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

Post by wwonderfull »

In terms of the (editbox 1 + editbox 2) = editbox 3

This was experimented

Image
Post Reply