Page 2 of 2
Re: Add 2 button to the rows of the browse form
Posted: Wed Feb 17, 2021 9:20 pm
by kev1n
I'm just repeating what I wrote above:
Enter any ID. Buttons, HTML object etc. are also not saved in the DB but every objects needs an ID.
Re: Add 2 button to the rows of the browse form
Posted: Wed Feb 17, 2021 11:25 pm
by icoso
Great Kev1n. Works like a charm. Now just trying to figure out a way to easily style those elements. Rather than a bunch of document.getElementById("label_formTitle").style.color= "red";
statements in my javascript. Any good ideas how to do that? I tried adding the id of the div to the nubuilder4.css but that didn't seem to change anything. So I resorted to the JavaScript statements.
Screenshot-Instr3.png
Screenshot-Instr2.png
Screenshot-Instr1.png
Re: Add 2 button to the rows of the browse form
Posted: Fri Feb 26, 2021 9:40 pm
by icoso
Anyone have a solution on how to do the above and change the Title style using CSS as described?
Re: Add 2 button to the rows of the browse form
Posted: Fri Feb 26, 2021 10:12 pm
by steven
icoso,
Add a style in the Setup section of nuBuilder...
red.PNG
And you can use it like this...
red2.png
Steven
Re: Add 2 button to the rows of the browse form
Posted: Sat Feb 27, 2021 2:03 am
by icoso
I'll try that.
Why wouldn't putting it in the nubuilder4.css file (that I mentioned above) that's in the core/css folder work?
Honestly I'm about to give up on this system. I think I could have written what I needed to do a lot fast and could have implemented the encryption that I needed much easier and faster than having to learn a brand new system (nuBuilder). Even the basic field masking and field validation is lacking inherently in this system that I had to write it myself. (I actually just borrowed code from other projects that I've already written for this) It was just having to learn the DOM and all the different events and triggers in the BS BE AS BB ... to get it to work.
I've tried to make this system work but not getting much help or direction on the overall flow of how things work together when an issue arises. Providing links to a manual or wiki that really has little real examples in them on how to do something (like examples for the functions) within this system is of little help. A Good example for a really function dictionary is PHP.Net or w3schools. For example, someone provided a link to the v4 manual for reporting and there is basically nothing in it. I found out from a VERY old post that I had to read the version 3 manual for reporting help... The manuals, wikis, and videos are not geared for someone just trying to learn how this system works. A Lot is glazed over that should not be. I would suggest that if you wanted it to expand and be used more, that a lot of focus goes into that. The website claims to be low code and for the non-developer. Its far from it.
Im really trying to make this system work, I can see real value in it, but the whole issue of trying to search using an encrypted field (an SSN) and encrypting other field data has really caused me to doubt this system as a viable option. I've written PHP & MySQL based apps years ago that incorporated encrypting fields and other data in the data tables where the apparent developers here just seemed to think about it as a recent issue.
Re: Add 2 button to the rows of the browse form
Posted: Sat Feb 27, 2021 11:17 am
by kev1n
icoso wrote:
Why wouldn't putting it in the nubuilder4.css file (that I mentioned above) that's in the core/css folder work?
When nuBuilder is updated, nubuilder4.css will get overwritten. That is why it is better to override styles in the header.
Otherwise you have to add your own styles after each update which can be very inconvenient.
Re: Add 2 button to the rows of the browse form
Posted: Sat Feb 27, 2021 6:11 pm
by icoso
Thanks kev1n! Makes Sense, I'll put it there and see if it works. Im assuming then that any CSS that I put there in the setup will override the nubuilder4.css that's in the core/css folder. I'd like to change the style of the buttons, ie: use a background image make them bigger. etc. I'd like to make the screen look similar to this when a user logs in. So All they see is buttons to Search/Edit/Add a Record, Run a Report, Export data, etc...
databaseicons2.png
Re: Add 2 button to the rows of the browse form
Posted: Sat Feb 27, 2021 7:05 pm
by kev1n
Yes, any style declared in the header will override nuBuilder's styles.