Forum Discussion
37 Replies
Sort By
- _anomDiebolt_Qrew EliteThe names of the variables are "iol' and "/iol" *without* the quotation marks. When you use them in formulas you write something like this:
[iol] & "module.js" & [/iol]
or
[iol] & "moduleTable.js" & [/iol]
Again the whole point of using [iol] and [/iol] is to make using the IOL technique (repeatedly - throughout the application) as easy as possible. - DeanOusterhoutQrew Assistant CaptainOk... all is now working... excellent... thanks very much. The nice part of this is that I can now use the standard save button without creating my own. This only seems to call the script when it is a nwr. Can it also be used for an edit record... er?
- DeanOusterhoutQrew Assistant Captainand not having to create my own buttons.
- DeanOusterhoutQrew Assistant Captainof course... we already know the RID... but I was thinking about calling other functions...
- _anomDiebolt_Qrew EliteYou can use the IOL technique on any page were you can get the [-] field to be included. Once included the module.js file will run and you can detect what type page you are on by using the template in this pastie:
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=293
Also you can further control if the [-] is included in a form by selecting the option "Display when this form is used for: edit, add, view ". - DeanOusterhoutQrew Assistant Captainok... so that is pretty neat... so you solved the problem of getting the RID. Now I realize, by using this method, instead of having my own button where I code the formula, I am now missing some values from the form? Can I still pass values into this process?
- _anomDiebolt_Qrew EliteIt would be best to ask a new question as we are wondering away from the original post and I can earn more forum points which I can redeem for valuable merchandise at the QuickBase store and overtake Mark on the leaderboard.
- DeanOusterhoutQrew Assistant Captain:) Ha... I wondered why you were so incredibly generous with your answers... of course... I do appreciate all the help.
- _anomDiebolt_Qrew Elite> ... so incredibly generous with your answers ...
The only way to become an expert is to practice. I invest a lot of time learning the latest web and programming technologies and most of the well formed questions here in the forum have straightforward answers. - DeanOusterhoutQrew Assistant CaptainMorning Dan, I tried the ScoobyDoo on my firefox at work, and an IE browser, and both are now running all code after the .on("load"... both when the page loads and when the save is clicked. How can I modify it so that it will run a subset of the code at load(like loading javascript includes), but run different code when the save button is clicked? I was going to do a pastie but am blocked at work... I should be able to do that later. Dean