Below is a snippet of currently working small piece of code to show button when there is text in the fieldKey column (so, when there is no text, than there is no button):
I have two elements on the page that I want hidden if the fieldKey has no content. The snippet of code above resolves one of those elements to show as you can see in
$w(" #moretext2btn ").show();
How would or where would I add code for another fieldKey (same dataset) and another ID page element?
Both are pulling from the same database which is the #dynamicDataset
The element Default Values is Hidden and Enabled
The other element ID is moretext3btn
The other fieldKey is expandedText3