0

Field Grouping Layout Element

This is a continuation of Peter's thread, which was apparently deleted with the purge of the spam posts. I am suggesting a new Layout Element that would use the HTML <fieldset> tag to group fields on the the Form page which appears to be rendered using HTML anyway. It could be implemented in a way similar to adding fields to a table. Here is a screen shot from the Mac app that shows what I'm talking about...

 

Screen Shot 2019-05-13 at 4.16.21 PM

 

The groups are just Formula fields in this case and use the html() function. The "Style" option has the "Background color" set to RGB 238, 238, 238. Here is the formula if anyone wants to try it out...

 

html("
<form>
<fieldset>
<legend>Group 1:</legend>
Text1:
<input type=""text"" name=""Text1"" value=""Testing 1"">
<br>
Text2:
<input type=""text"" name=""Text2"" value=""Testing 2"">
</fieldset>
</form>
")

 

Text6 and Text7 are Ninox Text fields and the Groups are formula fields using the html() function.

29replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    🤷‍♂️ I haven't found a way yet. It would be nice to be able to exchange information between the html() function and the database without having a cloud account, but right now it looks like it's only one way.

    Like
  • For this to really work, it seems like Ninox would have to support something like "Web-to-Leads", which is similar to a website "Contact Us" form that submits back to Ninox directly, without requiring a separate Ninox license. Html within a Ninox formula field appears to be similar to a separate website page. It may support javascript, but not Ninox's own scripting language.

    Like
    • Mconneen
    • Mconneen
    • 1 yr ago
    • Reported - view

    WOW.. this has become a rather active thread.. :)  

     

    Unfortunately, I am not that JavaScript savvy..  However, if there are hacks that can hide elements (like the X . print buttons, etc.) .. could that same approach be used to reach inside the defined group and reference the field value?

    Like
  • Hi Mconneen,

    No, because when you hack anything its possible because the browser have interpreted the source (html, css, js) and then you can take getElementById e.g. and put your hack. In the html() function, its different, because this one eval the source code and show in the formula field, and then you cant scrap or raw the content for grab the value. I think, for moment the issues is to make the html, css, js outside ninox and then show the result into html() or rich-text and then grap the value.

    Best regards

    Like
Like Follow
  • 1 yr agoLast active
  • 29Replies
  • 3755Views