[SOLVED] Input Field issue with Formbuilder 0.7.3

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

[SOLVED] Input Field issue with Formbuilder 0.7.3

Post by CapereSpiritum »

Hi Folks

Currently using Formbuilder 0.7.3 as version 0.7.4 is a bit buggy.

Used FB lots... But,

I'm adding two very basic forms to a website. I want to set a 'Default value for field:' and to set it to 'Clear default on click?:'

Works fine with all the other input fields but will not display 'Default value for field:' or rather the the field to set it is not present in the admin facility.

I can delete the email field and replace it with a Text Input field that will do the above, but it then won't be set to be the 'Reply Address'.

I've had this before for no apparent reason. Can anyone shed light on it?

Wishing you all a Happy and Prosperous New Year
Last edited by CapereSpiritum on Fri Jan 17, 2014 4:05 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Input Field issue with Formbuilder 0.7.3

Post by velden »

Quick and dirty: use a the 'replace' Smarty modifier on the formbuilder tag to find a specific part of that input field and add the code yourself.

{FormBuilder .... |replace:'UNIQUEPART':'UNIQUEPART PLUS THE CODE TO DISPLAY DEFAULT VALUE AND JS'}
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Re: Input Field issue with Formbuilder 0.7.3

Post by CapereSpiritum »

Hi Velden.

Bit above my skillset I'm afraid.

I did manage a workaround tho....

I applied a background image of the text using CSS. then on :focus change the image to solid color.

Thanks for your help tho :-)
Post Reply

Return to “Modules/Add-Ons”