Mix Dynamic Values With Text in a <p> Tag

@Teodor there is a text in the database for form_description.

what could cause the binding to return nothing?
it does return form_name, so its not database connection issue
how to debug it?

Can you please provide a link to your page?

sure

http://dino.serviceclientele.net/admin/survey.php?form_id=2

To me it doesn’t look like you have “form_description” in your Server Action Query

hey @UKRiggers,

listquestions has it:

Are you sure your server action is saved and uploaded to the server?

I understand what you are saying but the “ form_description ” is not showing in DevTools. Have you added this field and not saved the Server Action.

Also I notice that you are adding the title from the repeat when the title is outside of the repeat.

<h1>{{serverconnect1.data.repeat1[0].form_name}}</h1>
<p>Here would be instruction text and intro before the form fill.
{{serverconnect1.data.repeat1[0].form_description}}</p>

As an observation, I believe you should be using something like this from the original DB Query for those elements outside of the repeat.

<h1>{{serverconnect1.data.listquestions.form_name}}</h1>
<p>Here would be instruction text and intro before the form fill.
{{serverconnect1.data.listquestions.form_description}}</p>

since the db query listquestions is part of repeat form, this is how it appears, so when i want to select data binding, within data, i get the field i need in repeat1:

what strange to me is that h1 IS loading the data from databse, while 1 row later, paragraph is not.

It is not about the H1 or P tag is used. The issues is that your server action does not return this value/binding:

how do i debug it?
there is no error in the database or the query
here you can see the query behind the server action:

here you can see the results of running manually same server action query.

what do i do wrong @Teodor ?

thnx

What if you run your server action in the browser directly? Do you see it there as well?