# Make a list from datas in dynamic textboxes

Do you have any idea about how I can calculate weighted average by adding extra textboxes which will show acidity of other textboxes values?

which mean?

in the above eg i have shown you the average of first 10 text boxesâ€¦

I add another dynamic textbox which will show acidity of the given amount in the first dynamic textbox

Is it a chemistry project ? Are you going to calculate pH? â€¦or do you mean something else with `acidity` ?

if you dont mind, can you tell meaning of acidity here? really i dont knowâ€¦ no matter of number text boxes, you can add , retrieve any number of text boxesâ€¦

If you give query in a clear manner, you will get suggestion fasterâ€¦

Maybe You post somewhere that you are chemistry teacher i am just joking

For example in we can put 100, 150 and 180 in first dynamic textboxes and 5, 8, 10 for the second dynamic textboxes. When I click the button it will calculate them as (100x5+150x8+180x10)/(100+150+180)

why notâ€¦ i is easily achievableâ€¦ only logic speaksâ€¦ already you have answerâ€¦ in the place of number, just you have to use the text of that dynamic boxesâ€¦ very simple process

make sure how many dynamic text boxes you needâ€¦ also be clear upon button click you want the result or â€¦

try like this, i have used only two dynamic text boxesâ€¦

The user will determine the number of dynamic textboxes

Try this and see if it works for you

dynamic_textbox_1.aia (38.4 KB)

Basically how can I set a list to dynamic textbox1 and dynamic textbox 2?

Have you tested provided aia ?

Where am I doing wrong?

Again I will ask, did you tried it ?

I couldnâ€™t import it

I just tested and imports fine. Do you get a specific error error when trying to import ?

you wanna enter 1,2,3 format or 1 format number only need to enter by user