Can I make form elements match the system I am trying to simulate?

janseabrook
janseabrook Community Member Posts: 3
Is there anyway I can make the Test and Survey elements match the system I am trying to emulate?



The system we have has grey boxes on drop-down lists etc and not blue ones.



Is there any way of changing the colour of the drop down boxes?



Also is there any way of removing the border round data entry fields? The help given for my previous question about an entry field for date of birth was helpful, thank you, but the boxes round each of the 3 input fields make it look quite different to the system learners use every day. (which is a single entry field that looks like this: / / - and expects the format dd/mm/yyyy)



Is there any way of removing the border round the Entry field form elements?

Comments

  • benpitman
    benpitman Community Member Posts: 763
    To suppress the borders on an either a Form Entry field or a Fill in the Blank question, create an HTML object containing:

    input {border: none;}

    This works only when published to HTML.

    This will apply to all input boxes on the page. If you want it to apply to just one, then add the HTML name after the input like this:

    input.entry368{border: none;}





    To set the background, use Properties of list box > Apparance area > Background.



    Use a single entry field for entering birth date info. If you need to check it, you will have to go to JavaScript. If you are using 3 boxes which you did not say, then you have to use actions to rebuild the entire birth date by adding things together and ading a 0 if the field is less than 10.



    If you have other questions, call me.
  • janseabrook
    janseabrook Community Member Posts: 3
    Dear Ben,

    Thank you for your help.

    I have indeed made 3 separate date fields and amalgamated them via a variable action and that works fine.

    If I can add in the formulae you have quoted that will be great.

    Thanks again,

    Jan
  • benpitman
    benpitman Community Member Posts: 763
    If you have other questions or need more help, call me. I have no idea what a "variable action" is. If you can do that, what specifically is the problem? Call me.
  • erin
    erin Community Member Posts: 94 ♪ Opening Act ♪
    Further to the original question, is there a way to customize the arrow in a drop list so that it matches the software a developer is trying to simulate? Thanks!
  • ssneg
    ssneg Community Member Posts: 1,456 ♪ Opening Act ♪
    @erin 59871 wrote:
    Further to the original question, is there a way to customize the arrow in a drop list so that it matches the software a developer is trying to simulate? Thanks!
    You can try a trick like this: http://bavotasan.com/2011/style-select-box-using-only-css/