Jump to content

Change Confirm Textbox Background Colour


Recommended Posts

Hi, I have a submission datapage which contains a textbox with an associated "Confirm" box. I've changed the background and border colour of the Barcode_ID textbox with code:-

input#InsertRecordBarcode_ID {background: #F6817A;}
input#InsertRecordBarcode_ID {border-color: rgb(255, 0, 0);}

image.png.63235608e70355c9ed7c5165104e52e1.png

I've identified the id of the Confirm textbox from:-

image.png.467fa9b239ff33402019567528a08d1b.png

I've amended the code to change the Confirm Barcode ID box as:-

input#InsertRecordBarcode_ID@Confirm {background: #F6817A;}
input#InsertRecordBarcode_ID@Confirm {border-color: rgb(255, 0, 0);}

But it has no effect. Please... What am I missing? I also have this arrangement in a report datapage. Will this need to be different too?

Thanks in anticipation, Ron

Link to comment
Share on other sites

Luis at Caspio really helped me with this. For anyone who has the same issue, here's the remedy:-

<style>
input[id*='InsertRecordBarcode_ID'] {
background: #F6817A !important;
border-color: rgb(255, 0, 0) !important;
}
</style>

This should be placed in the header with the HTML editor disabled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...