Hi again,
In the old versions, I created a field for each ski trail and a check box. I then just formatted the output with spaces. In this latest version, I have to define fields thus:
And display them in connectivity so:
At first I didn't notice the lack of spaces and I changed the left column to 25% to fix it. Now we are getting more snow and they are grooming more trails it's extreme, so I noticed the problem:
http://snowvalleynordics.com/images/chronoengineSpacesProblem.png
http://snowvalleynordics.com
I saved the screenshot, because we had another 100+ cm of snow overnight and the grooming report is bound to change very soon.
paul
In the old versions, I created a field for each ski trail and a check box. I then just formatted the output with spaces. In this latest version, I have to define fields thus:
Atna=Atna
Beaver=Beaver
Clearwater=Clearwater
Devils_Elbow=Devils_Elbow
Eagle_Way=Eagle_Way
Foxtrot=Foxtrot
Lone_Wolf_C=Lone_Wolf_C
Grizzly=Grizzly
Hard_Scrabble=Hard_Scrabble
Icy_Pass=Icy_Pass
Juniper=Juniper
Onion=Onion
Jackrabbit=Jackrabbit
And display them in connectivity so:
<tr><td><b>Grooming: </b></td><td>{groomingreport1.insideareas} {groomingreport1.outsideareas} {groomingreport1.stadiumareas}</td></tr>
At first I didn't notice the lack of spaces and I changed the left column to 25% to fix it. Now we are getting more snow and they are grooming more trails it's extreme, so I noticed the problem:
http://snowvalleynordics.com/images/chronoengineSpacesProblem.png
http://snowvalleynordics.com
I saved the screenshot, because we had another 100+ cm of snow overnight and the grooming report is bound to change very soon.
paul
Hi Paul,
I can see that you are doing this in CC - but it does look more like a CF application (but I may be missing something).
I'm not completely familiar with CCV5 - where are you putting this list and what exactly is the problem with spaces?
Bob
I can see that you are doing this in CC - but it does look more like a CF application (but I may be missing something).
I'm not completely familiar with CCV5 - where are you putting this list and what exactly is the problem with spaces?
Bob
Hi Bob,
Well, the groomers log in and check off which trails they groomed using chronoforms, then the info is presented to the public using CC. Without spaces between the fields normal wordwrapping doesn't happen and the text overflows into the menus and off the page
http://snowvalleynordics.com/
Well, the groomers log in and check off which trails they groomed using chronoforms, then the info is presented to the public using CC. Without spaces between the fields normal wordwrapping doesn't happen and the text overflows into the menus and off the page
http://snowvalleynordics.com/
OK, perhaps this image better illustrates the problem with having no spaces between the fields:
http://snowvalleynordics.com/images/chronoengineSpacesProblem1.png
http://snowvalleynordics.com/images/chronoengineSpacesProblem1.png
Instead of a space you can try to use this:
Regards,
Max
which will force a space displayed.
Regards,
Max
No, I thought you need the spaces between the fields here:
<tr><td><b>Grooming: </b></td><td>{groomingreport1.insideareas} {groomingreport1.outsideareas} {groomingreport1.stadiumareas}</td></tr>
Yes indeed! That's where I used to put them, in the output, how to do it now?
Hi Paul,
I can see what is happening in the final result but that doesn't help diagnose the problem - but you didn't answer my question. Where - in CC - are you putting this list and what exactly is the problem with spaces?"
It still looks to me like a CF application, not a CC one.
Bob
I can see what is happening in the final result but that doesn't help diagnose the problem - but you didn't answer my question. Where - in CC - are you putting this list and what exactly is the problem with spaces?"
It still looks to me like a CF application, not a CC one.
Bob
So, if I'm correct, the problem is that the text goes over the right side column ? if yes then your CSS may need to have the "white space" property fixed to allow for word wrapping!
I'm not trying to exasperate you two -- honest!
OK, in CF the input form is defined as shown above in a previous post as:
etc.
This is done using your Designer in CF in a checkbox group according to the examples I found. Here is how it looks in the gui:
http://snowvalleynordics.com/images/CF_arrays-in-gui-backend.png
Now, back in the front-end, using CC, you can see that I can control the spaces between the arrays, but not between fields withing the arrays:
http://snowvalleynordics.com/images/CF_arrays-in-gui-backend1.png
So demarcations between check box groups have the space I use in CC, but demarcations between the fields within check box groups have a comma I didn't put there (but like/want!) and no spaces, so my question is how to introduce a space after the comma between check box group fields, so the css logic can work to word-wrap?
Can I change how they are displayed in CC, OR can I somehow store spaces within the array fields using CF?
So, if you have a look back at my earlier pic, you can see that if the trails the groomers check off are from the same check box group, there is no space between fields. The css has zero clue where to break the line and the browser ends up doing it much later.
Yes, between check box groups I can introduce whatever formatting I please, but not within checkbox groups. I don't even care if the result has a trailing space+comma pair after a check box group. It's an extra test, I know, and just a nice-to-have.
OK, in CF the input form is defined as shown above in a previous post as:
Atna=Atna
Beaver=Beaver
Clearwater=Clearwater
Devils_Elbow=Devils_Elbow
etc.
This is done using your Designer in CF in a checkbox group according to the examples I found. Here is how it looks in the gui:
http://snowvalleynordics.com/images/CF_arrays-in-gui-backend.png
Now, back in the front-end, using CC, you can see that I can control the spaces between the arrays, but not between fields withing the arrays:
http://snowvalleynordics.com/images/CF_arrays-in-gui-backend1.png
So demarcations between check box groups have the space I use in CC, but demarcations between the fields within check box groups have a comma I didn't put there (but like/want!) and no spaces, so my question is how to introduce a space after the comma between check box group fields, so the css logic can work to word-wrap?
Can I change how they are displayed in CC, OR can I somehow store spaces within the array fields using CF?
So, if you have a look back at my earlier pic, you can see that if the trails the groomers check off are from the same check box group, there is no space between fields. The css has zero clue where to break the line and the browser ends up doing it much later.
Yes, between check box groups I can introduce whatever formatting I please, but not within checkbox groups. I don't even care if the result has a trailing space+comma pair after a check box group. It's an extra test, I know, and just a nice-to-have.
Umm? OK, at the weekend I will grep the code to find where you parse the checkbox groups from the db and put in the commas, so I can add a space along with the comma. I can't think of anything else, sorry.
paul
paul
Hi gemlog,
Maybe this will do it. If you have a Handle Arrays action in the ChronoForm change the separator from just comma to comma+space i.e ',' to ', ' but without the quotes.
Bob
Maybe this will do it. If you have a Handle Arrays action in the ChronoForm change the separator from just comma to comma+space i.e ',' to ', ' but without the quotes.
Bob
Dear Bob,
Aha! This sounds very good. I've located that action under setup and added a space. I have a Good Feeling that it will be just the ticket. I did try to 'buy you a beer', but pp required creating a pp account this time, sorry. I am more than paid up for licenses though.
paul
Aha! This sounds very good. I've located that action under setup and added a space. I have a Good Feeling that it will be just the ticket. I did try to 'buy you a beer', but pp required creating a pp account this time, sorry. I am more than paid up for licenses though.
paul
This topic is locked and no more replies can be posted.