meeting-room-booking-system / mrbs-code

MRBS application code
Other
117 stars 58 forks source link

temporarily hide or remove a custom field #1468

Open jberanek opened 9 years ago

jberanek commented 9 years ago

I would like to temporarily hide or remove a custom field (Student_ID) in MRBS 1.4.11.

My temporary fix, ($vocab_override['en']['entry.student_id'] = "Leave empty"; is not the way I would like to leave it. (I also commented out the 'required' setting, but not the private setting).

Any suggestion (for what I am guessing is probably obvious) will be appreciated. Thank you, Dave

Reported by: carmean

Original Ticket: mrbs/support-requests/740

jberanek commented 9 years ago

You could try specifying a custom CSS file in your config and then in that file putting:

/* Replace 'custom' by the name of your field */
#f_custom, label[for="f_custom"] {
  display: none;
}

You'll still get the field though when you look at viewentry and report.

Original comment by: campbell-m

jberanek commented 9 years ago

Thank you Campbell! This did what I needed, you may close the ticket. Cheers- Dave

----- Original Message -----

You could try specifying a custom CSS file in your config and then in that file putting: / Replace 'custom' by the name of your field / #f_custom , label [ for = "f_custom" ] { display : none ; }

You'll still get the field though when you look at viewentry and report.

[support-requests:#740] temporarily hide or remove a custom field

Status: open Group: Created: Fri May 15, 2015 01:50 AM UTC by carmean Last Updated: Fri May 15, 2015 01:50 AM UTC Owner: nobody

I would like to temporarily hide or remove a custom field (Student_ID) in MRBS 1.4.11.

My temporary fix, ($vocab_override ['en'] ['entry.student_id'] = "Leave empty"; is not the way I would like to leave it. (I also commented out the 'required' setting, but not the private setting).

Any suggestion (for what I am guessing is probably obvious) will be appreciated. Thank you, Dave

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mrbs/support-requests/740/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

-- Computer Systems Consultant http://www.sfu.ca/biology2/staff/carmean SSCB8230 (West of the Biology Office) w. 778.782.2030 h. 604.224.2469 Submit a trouble ticket: Biology Department http://at.sfu.ca/WHsKmB Filemaker/ Online Database support: http://at.sfu.ca/aMfkuA Other Departments: http://at.sfu.ca/FYdGCJ

Original comment by: carmean

Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/69a219e5/1f3a/bca5/attachment/alternate