Auto incert username

martsund
martsund
Offline
0
Hi again,

The calendar is used for Rehearsel room booking for bands. The bands logon Joomla with their bandname and password, and the Calendar is only available for loged in users.

In the Calendar Form Field Title inputbox we want them to type their bandname. - We think it would be smarter to use something lidt echo 'User name: ' . $user->username in this field to autofill the form a bit, but the form works from .js modal or something like that. I have no clue how to place php code into .js or to write code in js... so can you help?

Best regards

Martin Sund
Responses (1)
  • Accepted Answer

    martsund
    martsund
    Offline
    Thursday, August 05 2021, 01:23 PM - #Permalink
    0
    This is a screenshot of the formfield that could be autofilled with the username
    The reply is currently minimized Show
Your Reply