Form access without login
Posted: Tue Oct 02, 2018 2:10 pm
First, thanks to the team for a fantastic tool - first class work guys!
I'd like to create an application for a volunteer cinema that allows us keep track of inventory, licenses, screenings etc. Also, I want to include a what-movie-do-you-want-us-to-screen form for the public, on the front end (which is on a different domain). Reading around, it certainly seems possible, and seems to be explained here (https://forums.nubuilder.cloud/viewtopic. ... ing#p12422), but I cannot get it to work. As a testing ground
- I have recreated the customer/product/invoice example nuBuilder have on YouTube
- I have created a procedure (i) code "autoCUS", (ii) description "autoCUS", ((iii) group is blank), (iv) launch from "CUS", (v) run "hidden" (not sure what this means), (vi) PHP "echo 'test';"
- If I call it from "setup" tab, "run procedure" button, the CUS form opens (albeit, without a save button)
- if I call it from "nubuilder/nucall?p=autoCUS" page (as suggested by am article), I see the echo "test"
I'm sure I'm missing some obvious point, but after hours reading and tweaking, I feel no closer - any help, please?
Maybe this has to do with cross-domain policy, maybe I should be using fopen() in the PHP box of procedure - I'm feeling all over the place!! TIA
I'd like to create an application for a volunteer cinema that allows us keep track of inventory, licenses, screenings etc. Also, I want to include a what-movie-do-you-want-us-to-screen form for the public, on the front end (which is on a different domain). Reading around, it certainly seems possible, and seems to be explained here (https://forums.nubuilder.cloud/viewtopic. ... ing#p12422), but I cannot get it to work. As a testing ground
- I have recreated the customer/product/invoice example nuBuilder have on YouTube
- I have created a procedure (i) code "autoCUS", (ii) description "autoCUS", ((iii) group is blank), (iv) launch from "CUS", (v) run "hidden" (not sure what this means), (vi) PHP "echo 'test';"
- If I call it from "setup" tab, "run procedure" button, the CUS form opens (albeit, without a save button)
- if I call it from "nubuilder/nucall?p=autoCUS" page (as suggested by am article), I see the echo "test"
I'm sure I'm missing some obvious point, but after hours reading and tweaking, I feel no closer - any help, please?
Maybe this has to do with cross-domain policy, maybe I should be using fopen() in the PHP box of procedure - I'm feeling all over the place!! TIA