Forum Discussion
_anomDiebolt_
11 years agoQrew Elite
M>no problem ... URLRoot()
I think the OP wanted a modal PopUp dialog not the opening of a new page. This example from June 19, 2011 demonstrated how you can create modal dialogs in the style of QuickBase's Popup (click on Test1 and Test2 buttons to demo):
MyPopDivs Not YourPopDivs
https://haversineconsulting.quickbase.com/db/bfuw7wt8a
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=7
Note that the code in the pastie and links points to the www subdomain not haversineconsulting as it was created before the great migration to UX2.
I think the OP wanted a modal PopUp dialog not the opening of a new page. This example from June 19, 2011 demonstrated how you can create modal dialogs in the style of QuickBase's Popup (click on Test1 and Test2 buttons to demo):
MyPopDivs Not YourPopDivs
https://haversineconsulting.quickbase.com/db/bfuw7wt8a
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=7
Note that the code in the pastie and links points to the www subdomain not haversineconsulting as it was created before the great migration to UX2.
- MarkSpringthorp8 years agoQrew TraineeDan, is this method still appropriate to use or is there a better way? It looks exactly like what I need but when I look at the pastie, I'm unsure of what code to put where in QB. Appreciate your help, Mark
- _anomDiebolt_8 years agoQrew EliteThat example uses the native QuickBase PopUp Dialog which looks like this:
The example below uses the jQueryUI Dialog widget:
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=511
They both work but you may find the jQueryUI Dialog more flexible if you want a more complex form. - MarkSpringthorp8 years agoQrew Trainee
Thanks Dan, much appreciated!
- ArchiveUser8 years agoQrew CaptainDo you think this will work if on a click this model shows up and on it have all the required fields showing up to create a new child record and when I hit save, a new record is added to parent?
- _anomDiebolt_8 years agoQrew EliteYes if you modify the script to meet your needs.
- ArchiveUser8 years agoQrew CaptainWhat is "var csvData = "";" and the function followed by it doing?
- _anomDiebolt_8 years agoQrew EliteIt is building up a string of csv data with newlines (ie \n) separating each line of data so that it can be posted to a table using API_ImportFromCSV.