+ Post New Thread
Results 1 to 3 of 3
Home Access Plus+ Thread, Booking System: Default Year and Subject for New Booking in Projects:; If there is only one option for Year, can it be automatically selected (or hide the dropdown altogether)? If there ...
  1. #1

    Join Date
    May 2013
    Posts
    65
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Booking System: Default Year and Subject for New Booking

    If there is only one option for Year, can it be automatically selected (or hide the dropdown altogether)?

    If there is only one option for Subject, can it be automatically selected (or hide the dropdown altogether)?

    Thanks Nick!

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,538
    Thank Post
    37
    Thanked 504 Times in 435 Posts
    Rep Power
    114
    This will be added to the next release, for the subjects box the code is: (line 109)
    HTML Code:
     <%if (config.BookingSystem.Subjects.Count > 1) { %>
                <option value="" selected="selected">- Subject -</option>
                <%} %>
    For the year box the code is: (line 442)
    Code:
    if (curres.Years.length > 1) $("#bfyear").append('<option value="">---</option>');

  3. #3

    Join Date
    May 2013
    Posts
    65
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    An elegant solution! Thank you!

SHARE:
+ Post New Thread

Similar Threads

  1. A classroom booking system for Joomla - any ideas?
    By mrwalker in forum EduGeek Joomla 1.5 Package
    Replies: 2
    Last Post: 13th July 2009, 07:40 PM
  2. New system for new academy
    By mcloum in forum Windows Server 2000/2003
    Replies: 9
    Last Post: 26th May 2009, 09:47 PM
  3. In/Out board & room booking system for outlook?
    By cokecan72 in forum Windows
    Replies: 1
    Last Post: 16th April 2009, 02:07 PM
  4. New to Imaging and looking for advice please
    By speckytecky in forum How do you do....it?
    Replies: 14
    Last Post: 11th July 2008, 09:02 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •