Search found 231 matches

by shasta59
2016-07-31 14:52
Forum: Getting Started
Topic: Cascading Dropdowns with changings
Replies: 1
Views: 776

Re: Cascading Dropdowns with changings

Yes it is possible to do. I would add in a field - time_taken. This field would be a simple check box which is not seen by the average user but would be filled in when the teacher submits the course. This field is then looked at when the times are displayed and you would need to write code to see wh...
by shasta59
2016-07-31 14:40
Forum: Getting Started
Topic: Disable projects from being selected if closed
Replies: 4
Views: 1660

Re: Disable projects from being selected if closed

You can do this easily by writing a hook. You should be able to put it in tablename_before_insert() hook or even write as js script and put that in the same folder and when the lookup is done to populate the field you would tell it to not display/retrieve the records for those where it is no longer ...
by shasta59
2016-07-11 14:17
Forum: Getting Started
Topic: File Fields Questions
Replies: 3
Views: 1606

Re: File Fields Questions

A quick question:

Were did the attachment come from? Was it uploaded in another record?

Thanks
Alan
by shasta59
2016-07-11 14:15
Forum: Getting Started
Topic: Am I able to create something like this with AppGini
Replies: 1
Views: 684

Re: Am I able to create something like this with AppGini

Yes you can but it will take some custom programming using javascript etc. Most of it is fairly simple (well that is a relative statement depending upon your skill level). The rights and access to data is easy to control but depending upon other requirements you may require custom code to hide/show ...
by shasta59
2016-05-20 21:56
Forum: Getting Started
Topic: Field to retrieve value from Web Service
Replies: 2
Views: 1254

Re: Field to retrieve value from Web Service

Yes you can but you will have to do it using javascript, for example. When the user inputs the contract ID, therefore the field has changed, the javascript can then run what it needs to do to get the data. Sorry do not have time right now to think about the code to do this. Should not be too hard to...
by shasta59
2016-04-04 23:24
Forum: Getting Started
Topic: Restricted Records
Replies: 4
Views: 1525

Re: Restricted Records

What version are you using? And it is really easy to do. Go into admin and set what the group can see. If that does not work then you can code it elsewhere to limit who sees what. If you want to set it by a flag that is very very easy then. You can code it to look at the flag and not display that re...
by shasta59
2016-04-01 01:46
Forum: Advanced Customizations > Hooks
Topic: Track logins in a database instead of a log file
Replies: 16
Views: 8104

Re: Track logins in a database instead of a log file

Hey great ideas. I had just logged in to post how to save the log out details but see that has been done. A different method than I used but it works. There are many ways to get to the same thing. Next thing I am working on is tracking what a user is doing and logging it into an activity table. Pret...
by shasta59
2016-03-30 21:33
Forum: Getting Started
Topic: Does anyone know what mfk is....?
Replies: 2
Views: 1065

Re: Does anyone know what mfk is....?

Ah, since I never use autofill, or have not had to for recent projects that would explain why I could not find a trace of mfk in any of the code. I appreciate the reply. I will setup a test project with autofill and see what happens. It was more a quest to understand the entire system that prompted ...
by shasta59
2016-03-29 23:31
Forum: Getting Started
Topic: Does anyone know what mfk is....?
Replies: 2
Views: 1065

Does anyone know what mfk is....?

Using Appgini 5.50 In every tablename_autofill.php there is the line: $mfk=$_GET['mfk']; I am trying to figure out what 'mfk' is. When I do a full search of all the files it only returns mfk as a find in the autofill files. It is probably something obvious but I cannot find out what mfk means, refer...
by shasta59
2016-03-29 20:09
Forum: Advanced Customizations > Hooks
Topic: update the parent table
Replies: 2
Views: 1895

Re: update the parent table

Tuxor It appears to me, with the many questions you are asking, it may be worth taking an online mysql and php course. There are many good ones out there and they will help you learn php/mysql so you can code these yourself. AppGini is a great app for quick development of the basic front end. Featur...
by shasta59
2016-03-29 20:06
Forum: Advanced Customizations > Hooks
Topic: Organize custom links on home screen
Replies: 18
Views: 7112

Re: Organize custom links on home screen

Yes it can. Very easy to do. Just open the links-home.php file and rearrange the order in which you wish them to appear. Copy everything between $homeLinks[] = array( and the ); to where you wish it to be. Make sure you also copy the homelinks and last bracket ); as well. (Copy first then paste then...
by shasta59
2016-03-29 03:43
Forum: Tips And Tricks
Topic: Edit, View and Hide a Field in a View (and in a Form)
Replies: 3
Views: 3129

Re: Edit, View and Hide a Field in a View (and in a Form)

Using Appgini 5.50

I posted how to do this in one of my posts. Sorry do not have time to find the post but I do this all the time. Only certain groups can see certain fields and I have also posted how to do it based upon a response/input in a field.

Alan
by shasta59
2016-03-29 03:40
Forum: Advanced Customizations > Others
Topic: How to control what is used for a username at signup
Replies: 0
Views: 1518

How to control what is used for a username at signup

Using Appgini 5.50 Have you ever wanted to control what is used as a username when a new user creates an account? For example, if you wish to not allow 'Superman vs Batman' as a user name then just do the following: Open inc.Function.php in the admin folder of your app. Then look for function is_all...
by shasta59
2016-03-28 03:01
Forum: Getting Started
Topic: Color Picker for record field
Replies: 2
Views: 1111

Re: Color Picker for record field

What version of Appgini are you using?

And yes it is possible. Not easy but it is possible to do. Get ready to code and then code some more.

Good luck with it.

Alan
by shasta59
2016-03-28 02:58
Forum: Getting Started
Topic: Password Field
Replies: 1
Views: 912

Re: Password Field

What version of appgini are you using?

And the password is already encrypted. MD5. And when you type it in you get dots.
Or do you mean you want Asterisk instead of the dots?

Alan
by shasta59
2016-03-28 02:55
Forum: Getting Started
Topic: Sync 2 datafields in different tables
Replies: 1
Views: 889

Re: Sync 2 datafields in different tables

What version of AppGini are you using? It is a good idea to put something like: Using AppGini 5.xx in the first line of your post. And this is very doable using a hook function that would update the correct field so both say borrowed or available when brought back . Should not be too hard to do but ...
by shasta59
2016-03-22 00:28
Forum: Advanced Customizations > Others
Topic: Use value in combo box to hide/show other fields - need help
Replies: 6
Views: 2326

Re: Use value in combo box to hide/show other fields - need help

Correction to above This is put into the your_templateDV.html file at the end of the other code which is there and before the closing script tag Here is correct code - slight mistake - also another instruction I forgot to add which goes higher up in template. You also need to add in the code where t...
by shasta59
2016-03-21 23:01
Forum: Advanced Customizations > Others
Topic: Use value in combo box to hide/show other fields - need help
Replies: 6
Views: 2326

Re: Use value in combo box to hide/show other fields - need help

Hello Using AppGini 5.50 What you need to do is use an EventListener You also need to ensure all fields you are going to 'listen' to have an id function yourfunctionname(){ //this is your function name - call it what you want document.getElementById("elementid").addEventListener("blur",nextfunction,...
by shasta59
2016-03-21 22:30
Forum: Advanced Customizations > Others
Topic: Use value in combo box to hide/show other fields - need help
Replies: 6
Views: 2326

Re: Use value in combo box to hide/show other fields - need help

Peter

When I get a chance I will share. It was so simple I am surprised I missed it. A forest for the trees issue. I will try to post it tonight.

Alan
by shasta59
2016-03-13 01:47
Forum: Advanced Customizations > Others
Topic: Access to parts of an table only for selected usergroups?
Replies: 1
Views: 1041

Re: Access to parts of an table only for selected usergroups?

Otto

What version of AppGini are you using?
It can be done with a script that looks at the group of the user who is logged in and then hiding or giving access based upon the group.

Thanks

Alan
by shasta59
2016-02-29 01:15
Forum: Advanced Customizations > Others
Topic: Get Rid of <None> in fields
Replies: 4
Views: 1902

Re: Get Rid of <None> in fields

In the case of my example the field is required. Here is the parameters of the field from the above example. int(10) unsigned NOT NULL, So that would not be the case in my experience. As you can see the field is 'not null' but still the <None> came up. This way I was able to eliminate it. Actually I...
by shasta59
2016-02-28 17:48
Forum: Advanced Customizations > Others
Topic: Get Rid of <None> in fields
Replies: 4
Views: 1902

Get Rid of <None> in fields

Using AppGini 5.50 If you wish to get rid of the display of <None> there is a very easy way to do this. Change the following code in ajax_combo.php Look for: $prepared_data[] = array('id' => empty_lookup_value, 'text' => "<{$Translation['none']}>"); Change it to: $prepared_data[] = array('id' => emp...
by shasta59
2016-02-28 17:39
Forum: Advanced Customizations > Hooks
Topic: Email notification
Replies: 8
Views: 2798

Re: Email notification

What version of AppGini are you using?
by shasta59
2016-02-28 16:02
Forum: Advanced Customizations > Others
Topic: Use value in combo box to hide/show other fields - need help
Replies: 6
Views: 2326

Re: Use value in combo box to hide/show other fields - need help

Appgini Version 5.50 I figured it out. After sleeping on it a light bulb came on and I got it. (Wife was not impressed when I got up at 3 AM and ran downstairs to my office) LOL Was not thinking that it would return the id of the value selected. As a result was getting wrong info to my coding. Live ...
by shasta59
2016-02-27 23:58
Forum: Advanced Customizations > Others
Topic: Use value in combo box to hide/show other fields - need help
Replies: 6
Views: 2326

Use value in combo box to hide/show other fields - need help

Appgini Version 5.50 I am trying to do the following: Based upon the value selected in <%%COMBO(fieldname)%%> I want to hide/show various other fields in the input form. I can do this easily if the field is not a combo box but not with a combo box. I am sure I am missing something simple in this cas...