Forums

Default values missing in input fields

olafvdg 19 Jun, 2009
Hi there,

Strange behaviour....
The default values of input fields do not show up in connectivity when creating a record.

A simple <input name="test" value="test" /> does show default text in chronoforms, but when using the same form for creating a new record in connectivity, the field is blank. Firebug does show a value in the form, but it seems like it is removed by some procedure when loading the form.....

Any ideas....

Regards,
Olaf
GreyHead 19 Jun, 2009
Hi Olaf,

I don't think it's valid html without a type='???' attribute - but I don't know if that is causing the problem :-(

Bob
olafvdg 20 Jun, 2009
Hi Bob,

No, I realize there's no type in my example, but there are in the form.
Strange thing is that de defaults do work and are visible in chronoforms when opening the form.

However, when using the form from connectivity it seems the value does exist in the html but is not visibel on the form. Happens with both text type field and textareas as well.

Hope you or Max can solve this...

Olaf
GreyHead 20 Jun, 2009
Hi Olaf,

I'm afraid that this is one for Max, I've just had a look around at the CC/CF connection code and I can't make out how it works :-(

Bob
olafvdg 22 Jun, 2009
Max,

Please help! Any ideas why default field values are removed in CC?
Seems to me the default values are stripped out somehow (Live Validation?)...

I do not have any field validation setup in CF, but using the form in CC appears to be using validation anyway.

Help... please.. 😢

Olaf
olafvdg 30 Jun, 2009
Please... anyone.....Max.... Bob....

Being able to set default values in a form seems like basic CC/CF functionality to me....

Please help me!
Kees55 10 Jan, 2010
I have the same problem with Chronocomments: input fields missing under IE.
Under Firefox, everything is ok...
Got Joomla 1.5.x
GreyHead 10 Jan, 2010
Hi Kees55,

This is a ChronoConnectivity thread but you are posting abotu ChronoComments??

What do you mean by 'missing'?? You just can't see them? In that case you probably need to check your template CSS and make sure that there is a border color set for form inputs..

Bob
This topic is locked and no more replies can be posted.