I'd like to use MachForm on our server which is accessed over HTTPS and has page access protected by an apache authentication filter. In PHP the authenticated username is available as $_SERVER['REMOTE_USER']; I'd like to allow form managers to make forms that capture this data.
form makers should be able to add the "user name" field to the form,
the field it should draw the value form the $_SERVER['REMOTE_USER']
As other fields have per type options, this type should have options specific to its type.
Display (?) [] yes [] no
Regardless of whether the values is displayed, the entry from the user should not be trusted, the usernmae should be read (possible again) on the actual submission (so that a user that manipulates the DOM cannot pretend to have another or NULL username).
Possibly other servers can access a authenticated user name in another way -- documenting where to specify the PHP code to draw the username into the save routine may allow alternate setups to leverage this same feature.
