Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Change CSS for a specific form field

Post Reply
ruiascensao
Posts: 177
Joined: Tue Nov 15, 2011 2:24 pm

Change CSS for a specific form field

Unread post 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.
BR
Rui
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Change CSS for a specific form field

Unread post by admin »

Rui,

Use jQuery.

Steven
ruiascensao
Posts: 177
Joined: Tue Nov 15, 2011 2:24 pm

Re: Change CSS for a specific form field

Unread post 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.
BR
Rui
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Change CSS for a specific form field

Unread post by admin »

Rui,

The answer can be found here ...

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

Steven
ruiascensao
Posts: 177
Joined: Tue Nov 15, 2011 2:24 pm

Re: Change CSS for a specific form field

Unread post by ruiascensao »

Hi Steven,

Thank you.
I works fine for me.
BR
Rui
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Change CSS for a specific form field

Unread post by admin »

.
Post Reply