Menu

#740 temporarily hide or remove a custom field

open
nobody
None
1
2015-05-15
2015-05-15
carmean
No

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

Related

Support Requests: #740

Discussion

  • Campbell Morrison

    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.

     
    • carmean

      carmean - 2015-05-15

      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

       

      Related

      Support Requests: #740