![]() ![]() ![]() You can use the same php for calculation, so you need to move the code to the appropiate (ajax) event. Onchange will trigger on each and every keyboardclick, onblur when your field looses focus. It is important that you must have a connection created in the project for it to be listed in SQL Builder. I inserted the following code under OnChange Event just to test different images on changing values of test field. Creating an ajax event is similar to a php event but you need to pick the right event. Firstly you need to select the connection (Database) that you want to use. ![]() Then your form will not loose focus and you will be able to show your data before submit. I need to update the Remark field in my table ‘student’ by concatenating the text data with the Remark field in my secondary table ProblemStudent by matching the Studentreg in both tables. The second (and better) alternative is to swich over to ajax events. First you could address the data to a global so that when you reload your form it will be there and presented. When clicking on the existing link it is displayed the screen below that allows to manage the links. Yes, php events are triggered by a commit so you loose control to the server and your form is rebuild loosing your data. In the Link Folder of the Application Menu (Image Below) are displayed the links existing in the application and also the item New Link. Welcome user When I change global variable above I want to refresh this value. Ok so I have fields without any other input from the user.īasically I need to have the form completed and calculated before it’s commited to the database with as little input from the user as possible. I have global variable that put in header of menu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |