5 of 5
5
New Datepicker FieldFrame extension
Posted: 25 June 2010 07:53 AM   [ Ignore ]   [ # 73 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  465
Joined  05-15-2007

Hi there,

I’m using this fieldtype in a SAEF and it works great, thanks. But I have a Matrix field which has quite a few columns, so the width of each individual field is important in order for it to fit within the page width.

I noticed that this TBZ Date Picker field input seems to have an inline style of 140px - I’ve just changed this by editing field_width on line 45 of ft.tbz_date.php to a smaller value.

But in order to save doing this (even though only a very minor ‘hack’), it would be great if there was a field setting within the custom field page for this field, that allowed you to specify this width. Either that, or have no inline style at all so we can adjust this (on SAEF’s) ourselves in CSS.  As it stands, it’s fine and very minor, but means it’s something I’ll need to remember when upgrading in future.

Anyway, just a suggestion.

Thanks.

 Signature 

 
Stephen McIver | Made by Bridge | Huddersfield & Liverpool, UK | Twitter

Profile
 
 
Posted: 10 July 2010 05:36 PM   [ Ignore ]   [ # 74 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  106
Joined  09-14-2007

Has anyone got any tips regarding validation for this fieldtype in a SAEF?

I need to compare dates etc and would usually do some something like:

var date document.getElementById("field_id_46").value

However, this doesn’t seem to work for the TBZ field.

Profile
 
 
   
5 of 5
5