Ebase labels without any formatting

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
dvanhussel
Ebase User
Posts: 161
Joined: Fri Oct 19, 2007 12:45 pm
Location: Haarlem, the Netherlands

Ebase labels without any formatting

#1

Postby dvanhussel » Sat Jun 22, 2013 2:10 pm

Hi,

Is it possible to have no formatting at all on a label field? If I place a field on a page and let it only display the label, this HTML is added:

Code: Select all

<div class="CTID-354-_ eb-354-Override-Field " style="display&#58;inline-block;zoom&#58;1;*display&#58;inline;">
      <div class="eb-354-Override-Label " style="display&#58;inline-block;zoom&#58;1;*display&#58;inline;"><label for="CTID-41-_-A">Telefoon</label></div>
     </div>
What I like to have is just:

Code: Select all

<label for="CTID-41-_-A">Telefoon *</label>
I need this for a form that should be 'responsive'. Using the default Field Grid layout generates a non-responsive table. I want to add the editor and label for the field seperatly to a HTML-list and then style the form with only css.

An example is below:
Image

The first field has the label als HTML and an ebase field with only the editor selected. This has the correct layout.
The second field, has the label and editor from an ebase field (as two controls). Here the layout is incorrect.

The problem occurs with the two added div's. The second part of the example is 1 HTML control based on the Ebase output of the first part, but with the div's removed to test if they are indeed the problem.

I could ofcourse just add the labels in HTML, but I would like to be able to set 'Presentation > Lable for' for these labels in the designer.

I hope my question is (a bit) clear :wink:

Regards,

David
0 x

Who is online

Users browsing this forum: No registered users and 12 guests