Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Form access without login
-
- Posts: 79
- Joined: Thu Oct 20, 2011 9:13 pm
Form access without login
Hi,
For some applications I used the ''Access without login' feature of nuBuilder 2 to make some cool things like building a QR code with an url which contained the form id and the record id as parameters of an edit form, and when somebody scanned the QR code with a smartpgone, the nubuilder's edit form opened and displayed the record's information.
I have used this feature also to automate/schedule reports sent by email (this post says how I did it) http://forums.nubuilder.cloud/viewtopic.php?f=3&t=8303
I noticed that in nuBuilderPro there is no longer the 'Access without login' dropdown in the General Tab of the forms, and I also noticed that nuBuilderPro doesn't use parameters in the url.
Is there anyway to open an edit form on a give record ID without being logged in ?
Kind regrads,
Fike
For some applications I used the ''Access without login' feature of nuBuilder 2 to make some cool things like building a QR code with an url which contained the form id and the record id as parameters of an edit form, and when somebody scanned the QR code with a smartpgone, the nubuilder's edit form opened and displayed the record's information.
I have used this feature also to automate/schedule reports sent by email (this post says how I did it) http://forums.nubuilder.cloud/viewtopic.php?f=3&t=8303
I noticed that in nuBuilderPro there is no longer the 'Access without login' dropdown in the General Tab of the forms, and I also noticed that nuBuilderPro doesn't use parameters in the url.
Is there anyway to open an edit form on a give record ID without being logged in ?
Kind regrads,
Fike
Re: Form access without login
Fike,
(You'll need the latest build)
You can do it with nucall.php
URL.. (p=Code of PHP Code)
PHP.. (Allow non secure Access = Yes)
Steven
(You'll need the latest build)
You can do it with nucall.php
URL.. (p=Code of PHP Code)
Code: Select all
http://localhost/site_c/nucall.php?p=1&a=calling&b=without&c=logging&d=in
Code: Select all
print '#a# #b# #c# #d#';
You do not have the required permissions to view the files attached to this post.
-
- Posts: 79
- Joined: Thu Oct 20, 2011 9:13 pm
-
- Posts: 21
- Joined: Thu May 22, 2014 6:08 pm
Re: Form access without login
How do we pull up a form then in PHP?
Not the DB record, but a working form?
Not the DB record, but a working form?
-
- Posts: 21
- Joined: Thu May 22, 2014 6:08 pm
Re: Form access without login
The original question was "how do I render an edit form with non-secure access?"
The answer was to enable that option using PHP code, and call it using nucall.php
What PHP code will let me render the form?
Would I use a combination of PHP and JS (nuOpenForm...)?
The other option would be to create a new user with the desired form as a homepage, and use the u/p parameters to auto-login and embed.
The answer was to enable that option using PHP code, and call it using nucall.php
What PHP code will let me render the form?
Would I use a combination of PHP and JS (nuOpenForm...)?
The other option would be to create a new user with the desired form as a homepage, and use the u/p parameters to auto-login and embed.
-
- Posts: 79
- Joined: Thu Oct 20, 2011 9:13 pm
Re: Form access without login
I am using the auto login option proposed by israelwebdev.
It works fine. However, the homepage form of the recently created user opens at record '-1', and I would like it to open at a given recrod.
Is there any parameter that I can pass on the url to open that form at a given record?
I mean, something like:
http://localhost/nupro/index.php?u=newu ... 4f69eg5g96
Kind regrads,
Fike
It works fine. However, the homepage form of the recently created user opens at record '-1', and I would like it to open at a given recrod.
Is there any parameter that I can pass on the url to open that form at a given record?
I mean, something like:
http://localhost/nupro/index.php?u=newu ... 4f69eg5g96
Kind regrads,
Fike