How to get all lable text from dynamic card

show me blocks…
where you creating the dynamic labels?

Tip : Give same id number with join text to all child components according to parent component that pressable with some prefix or suffix text …

joinText{parent + id}
joinText{quesA + id}
that + for joining text not for adding​:grin:

eg
{ parent1 {
questA1,questB1,questC1
} parent2 {
questA2,questB2,questC3
} …
parent30 {
questA30,questB30,questC30
}

suppose you want to Get text of questA20
then Use block
Get Component by id now you will got parent20 now just replace
parent to questA
then it will becomes questA20 and now you got the id of quest no of 20 to get text, visible etc

this is my dynamic card blocks



the out put i got from above blockset up

Follow above steps and with below pic

NOT WORKING
set vertical aarangemne clikable.
i using android builder platform is that any change for that
@Professional
@Still-learning

on clicking the material card try to catch the id of the clicked component in a lable ans show us the result. also Did you set the vertical arrangement clickable?if yes, set to disable and try

While using card view when i click any card it give me card id only like material [email protected] couldnt get how to set up blocks to get all label text on that perticular card bcos i m making mcq app so on evry card there are 1que 4options and 1 ans in text value

While using vertical arrnagemnt as suggested by @Professional i did not get anything return on click . Click not repond i think … Cheked with full clikble , clickable and long clikable property to set true and false also.

Is this showing as id? May be your topic will delisted soon because you are trying in another platform but asking question in differetn platform, but anyhow this is the logic…

on cardview click, get the id the clicked card id— it should show number only (global id) as per your previous block

thats why i suggested my earlier blocks… also i have noticed that, in your previous block you have used title = global id and

but in the error image why did you add this text tital insted if title. If so you will get such error because there is no dynamic label element with that id

So, finally your error is logical one

This dynamic arrangment i copied from community and did minor changes to show my que n ans .dnt know more about coding. So to get uniq id some one have explain to set such join block for id so i made same. For lable 1 i put title, for lable 2 i put L2 etc nd join with globle id block

Did you correct it? test it?

As shown in your suggested blocks i did same.i m sorry but i dng know much about coding

So i keep tht title block…is there anything else i should put?

Any veriable?

i just give you idea how to do…how to manage child ids according to parent component… i have checked now in your case Parent component is Material Card

i have told you that give aa+1,2,3,4… id to parent component that is Your Material Card Not Vertical Ar… just change MaterialCard id to aa+1,2,3,4… And Vertical Arrangemnt id to va+1,2,3…

Coding Knowledge is not important here. But use correct spelling. Insted of tital use title and test

1 Like

Ohhh couldn’t recognise that let me check

okay i m geeting the text value.now problem is that i want to get whole card view value ( ie lvalue of L1,L2L3L4,L5 NAS LABLE) so it is not possible to gel all values at once?

and thnk you somuch atlest i got some values

I dont know which format you want, as a list or want to print one another in another label etc etc… there are multiple ways can print and one way you have achieved it. that is title + get id gives your selected card title. likewise use another combo to get further values…

subtitle + get id
a3 + get id
and +get id

1 Like

yes i got all values …thanks.
one more help is needed
how can i make pdf from selected questions from above view

After click any card i got values, from all labls now problem is that on every click last text removed and new text values comes from all lables but how to make a list from them.