06-21-2018, 12:39 PM
Hi!
...I'm a noob. but the installation was easy and userspice is running of course. Everything works. What I would like to do, is create a custom user page for each user. They don't really differentiate much, but I would need to transfer a variable (username) to a form respectively when the form is submitted the username automatically in there.
This is how the form works right now:
====
<form class="form-horizontal" role="form" id="test-form">
<div class="form-group">
<label class="col-lg-3 control-label">First Name</label>
<div class="col-lg-3 inputGroupContainer">
<div class="input-group">
<input type="text" class="form-control" name="firstName" placeholder="First Name"/>
</div>
</div>
</div>
====
So ideally I have a hidden form field that gets the username or full name through the login procedure. I can then submit the form without the user having to input anything.
Any help is greatly appreceated.
R.
...I'm a noob. but the installation was easy and userspice is running of course. Everything works. What I would like to do, is create a custom user page for each user. They don't really differentiate much, but I would need to transfer a variable (username) to a form respectively when the form is submitted the username automatically in there.
This is how the form works right now:
====
<form class="form-horizontal" role="form" id="test-form">
<div class="form-group">
<label class="col-lg-3 control-label">First Name</label>
<div class="col-lg-3 inputGroupContainer">
<div class="input-group">
<input type="text" class="form-control" name="firstName" placeholder="First Name"/>
</div>
</div>
</div>
====
So ideally I have a hidden form field that gets the username or full name through the login procedure. I can then submit the form without the user having to input anything.
Any help is greatly appreceated.
R.