• 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: Office Use Only?

Office Use Only? 11 years 2 months ago #26565

  • xsbucks
  • xsbucks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 2
Does anyone have any idea how to add an "Office Use Only" section into a form? I was looking for maybe an ACL plugin that would allow a specific line in the form be viewed and edited by Admin?
The administrator has disabled public write access.

Office Use Only? 10 years 5 months ago #29465

Looking for an answer for this myself, you could create a hidden field which can be viewed/edited in Directory Submissions
The administrator has disabled public write access.

Office Use Only? 10 years 5 months ago #29483

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
Are you referring to showing the field in the form's layout to only a certain group of users (administrators, in your case)? If this is the case, then, no, there's no default feature for this.

However, due to RSForm!Pro's extensive flexibility you can achieve this through the use of some custom scripting.

Using a PHP script you can populate a hidden field with the id of the user group that you wish to allow to see the field. Then, using another PHP script, you can verify if the logged-in user belongs to that group and change the form's layout by changing that field's style from 'display:none' (set previously in the field's configuration) to 'display:block', for example.

Remember that, for this to work, the field should not be set as 'required'.

The following article explains more about RSForm!Pro's PHP scripting areas:

www.rsjoomla.com/support/documentation/v...602-php-scripts.html

Your script should be added in 'Script called on form display'.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: xsbucks
  • 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!