• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Set a hidden form field = to an uploaded filename

Set a hidden form field = to an uploaded filename 1 year 2 weeks ago #42684

Hi,
I am struggling to set the $_Post of a form field of type hidden equal to the filename+extension without path of a field of type 'File Upload'.
I suppose this can be done in the Script called on form process area.
How to do this please.
Roland
The administrator has disabled public write access.

Set a hidden form field = to an uploaded filename 1 year 2 weeks ago #42689

  • info5963
  • info5963's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
This is not complicated.
Enter the following code in File prefix:
//<code>
    return $_POST['form']['hiddenfieldname'];
//</code>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!