Page 1 of 1

Change CSS for a specific form field

Posted: Thu Mar 05, 2015 11:48 am
by ruiascensao
Hi,

I would like to change the css (Content font size + field Height) of a specific form field.

Is there any function on nuBuilder that would help?

Thank you.

Re: Change CSS for a specific form field

Posted: Thu Mar 05, 2015 11:34 pm
by admin
Rui,

Use jQuery.

Steven

Re: Change CSS for a specific form field

Posted: Fri Mar 06, 2015 5:47 pm
by ruiascensao
Hi Steven,

Thank you.
I'm using below code and works fine for me.

Code: Select all

$('#product_code').css({"background-color": "LemonChiffon", "font-size": "130%"});
Is there a way to have JavaScript "onchange" for the "Delete" check-boxes?
I would like to call "nuSaveForm()" every time someone needs to delete a subform record.

Thank you.

Re: Change CSS for a specific form field

Posted: Mon Mar 09, 2015 2:36 am
by admin
Rui,

The answer can be found here ...

http://wiki.nubuilder.net/index.php/Add ... Events_Tab

Steven

Re: Change CSS for a specific form field

Posted: Wed Mar 11, 2015 1:00 am
by ruiascensao
Hi Steven,

Thank you.
I works fine for me.

Re: Change CSS for a specific form field

Posted: Fri Mar 13, 2015 6:11 am
by admin
.