I made login form
Is it possible?
Is there any other easy way to do it?
I would like to run my edit form in ADD-mode for initial user's registration (initially without login/password),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.
How to run Add-form from Login page?
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
How to run Add-form from Login page?
You do not have the required permissions to view the files attached to this post.
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: How to run Add-form from Login page?
Create a separate user and access level.
Then add a link to index.php?&u=1&f=FORM_ID_OF_FF0&r=-1 (Replace FORM_ID_OF_FF with the form Id of your FF0 form)
Thg login parameters are explained here:
https://wiki.nubuilder.cloud/ ... .php/Login
Then add a link to index.php?&u=1&f=FORM_ID_OF_FF0&r=-1 (Replace FORM_ID_OF_FF with the form Id of your FF0 form)
Thg login parameters are explained here:
https://wiki.nubuilder.cloud/ ... .php/Login
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: How to run Add-form from Login page?
Sorry, I didn't answer for a long time ...kev1n wrote: Then add a link to index.php?&u=1&f=FORM_ID_OF_FF0&r=-1 (Replace FORM_ID_OF_FF with the form Id of your FF0 form)
I gave up on such a call to the edit form - some functions are unavailable and some do not work as expected.
Now I add link on AddUserFunction:
Code: Select all
<input id='submit' style='width:180px' type='submit' class='nuButton' onClick='AddUserFunction()' value='Первичная регистрация'/>
Code: Select all
function AddUserFunction() {
window.onbeforeunload = null; // hide dialog window "Leave the site..."
window.location.href='index.php?&u=hide&p=hide&f=nuuserhome';
}
Wbr, miasoft.