Page 1 of 1

MS Access to nuBuilder Question

Posted: Fri Mar 30, 2018 11:16 am
by strach
A page (site) for personal use is assumed.
MySql database

On the page:
- ListBox;
- TextBox;


Scenario:
1. The user in the drop-down ListBox selects the value.
2. Depending on the value in the TextBox, the text from the database that corresponds to the selected value gets.
3. The user formats, edits the text.
4. The text is automatically saved in the database.

Text in the text field can contain the code of any programming language, in which syntax highlighting should be observed.


1. How to implement this scenario?
2. Can I do it so that the text formatting menu automatically appears in the text field when the text is selected?
3. What are the other ways to perform formatting and text editing?
4. If the use of a text field is impractical (impossible) in this case, then what are the other ways to implement this task?
Those. so that the selected value from the drop-down list below appears text that can be edited and formatted?


PS /
So far, just starting to master, so I apologize if the question is elementary ..

Re: Dropdown Select and Text Object Question

Posted: Fri Mar 30, 2018 10:20 pm
by admin
strach,

I'm haven't seen that dialog for the Text Area before, what browser are you using.

Steven

Re: Dropdown Select and Text Object Question

Posted: Fri Mar 30, 2018 10:40 pm
by strach
This is done in MS Access.
I wanted to know if something can be done in your program?

Re: Dropdown Select and Text Object Question

Posted: Fri Mar 30, 2018 11:17 pm
by admin
strach,

I loved using Access 2 and above.

nuBuilder has a lot in it that I learned from using Access.

Unlike a google doc that saves as you use it, nuBuilder only saves a record when you click the Save Button.

This allows the developer to make sure a record has all its fields filled in properly before it is saved.

From my memory, Access would save a record if you click Save or move records or close a form or close Access.

I'm not sure I'm answering your question but I'm referring specifically to...
4. The text is automatically saved in the database.
You can do everything else though (even save it automatically - if you want to customise it your self)

It's just not the way nuBuilder Forte's natural flow works.


Steven

Re: Dropdown Select and Text Object Question

Posted: Fri Mar 30, 2018 11:26 pm
by toms
You can add external JavaScript libraries/plugins to extend the existing functionality.
Check out the WYSIWYG editor Trumbowyg.Would it meet your requirements?
https://alex-d.github.io/Trumbowyg/

I've just integrated it into nuBuilder and it's quite easy to do so (if you know how to do it)

Re: Dropdown Select and Text Object Question

Posted: Fri Mar 30, 2018 11:36 pm
by admin
strach,

toms is right.

If you want a WYSIWYG you'll need to add another library.

If anyone has questions about things like this, I have just created a new Sub Forum called - Third party software and APIs.

https://forums.nubuilder.cloud/viewforum.php?f=22


Steven