Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

More on the alignment issue...
Last Post 07-30-2007 09:36 AM by Jon Winters. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jon WintersUser is Offline
wading in the water
wading in the water
Posts:24
Avatar

--
07-24-2007 08:22 PM

    I have a form that has a HTML field (Principal #2) in the row below I have 2 fields on the same row when I do this it screws up the formatting of the form. Please take a look at the example I pulled out of the rendered html from the page.


       
           
           
       
       
           
           
           
           
           
           
       

               
                   
               

           

               
    Principal #2

               
           
    Label 1
               
                   
                       
                   
               

                           
                       

           
    Label 2
               
                   
                       
                   
               

                           
                       

           

    You might not be able to see the code as it will probably render so here is the code with the "<" replaced with "[" and ">" with "]". I added the border=1 to outline the cells.

    [table width="100%" border="1"]
        [tr id=""]
            [td id="" valign="middle"]
                [a id="" href=""]
                    [img style="border-width: 0px;" src="/DesktopModules/Dynamic%20Forms/editsettings.gif" /]
                [/a]
            [/td]
            [td class="NormalBold" width="100%" valign="middle" nowrap="nowrap" colspan="3"]
                [div class="subhead" style="border-bottom: 1px solid rgb(96, 96, 96); padding-top: 3px; width: 100%;"]Principal #2[/div]
                [input id="" type="hidden" value="" name="" /]
            [/td]
        [/tr]
        [tr id=""]
            [td id="" valign="middle"][/td]
            [td class="NormalBold" width="100" valign="middle" nowrap="nowrap" align="right"]Label 1[/td]
            [td]
                [table]
                    [tr]
                        [td]
                            [input id="" class="NormalTextBox" type="text" style="width: 200px; background-color: rgb(255, 255, 160);" maxlength="50" name="" /]
                        [/td]
                    [/tr]
                [/table]
            [/td]
            [td id="" valign="middle"][/td]
            [td class="NormalBold" width="100" valign="middle" nowrap="nowrap" align="right"]Label 2[/td]
            [td]
                [table]
                    [tr]
                        [td]
                            [input id="" class="NormalTextBox" type="text" style="width: 200px;" maxlength="50" name="" /]
                        [/td]
                    [/tr]
                [/table]
            [/td]
        [/tr]
    [/table]

    Is there anyway to remedy this? I doubt this can be fixed without a major revamping of the code, so can we expect this is next release?

    If you could give us the ability to define a table, rows, columns and colspan, rowspan, that would fix almost all of the formatting problems.

    Thanks,

    Jon

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-27-2007 12:51 PM
    Hmmm, so basically the html field is stopping because the colspan isn't enough? Therefore if you have two fields on the same line (after the HTML field) it renders the html field only to the end of the first question?

    -Chad


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-27-2007 12:53 PM

    Hmmm... I don't think it would require much change to code. I just copied the code to an HTML editor and then change "colspan=3" to be "colspan=4" and this fixed the issue. Ill see if we can make this a setting you can specify for html fields. This is on line 1116 if you need to change the code, otherwise we should be able to add it in the next build. I really cannot find a problem with adding to the colspan, each time I add to the colspan an extra number it doesn't appear to be affecting the look. Another option would just be to set it to 5 or 6 and then it should cover most scenarios (at least as a quick fix until the admin can specify it)

    -Chad

    Jon WintersUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    07-30-2007 09:23 AM
    Posted By Chad on 07/27/2007 2:51 PM
    Hmmm, so basically the html field is stopping because the colspan isn't enough? Therefore if you have two fields on the same line (after the HTML field) it renders the html field only to the end of the first question?

    -Chad

    That is precisely the problem. So what needs to happen is the row or rows above /below need to be recalculated to accommodate the additional columns. This will allow the html field to span the entire table as rows are added.

    Jon

    Jon WintersUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    07-30-2007 09:36 AM
    Posted By Chad on 07/27/2007 2:53 PM
    Hmmm... I don't think it would require much change to code. I just copied the code to an HTML editor and then change "colspan=3" to be "colspan=4" and this fixed the issue. Ill see if we can make this a setting you can specify for html fields. This is on line 1116 if you need to change the code, otherwise we should be able to add it in the next build. I really cannot find a problem with adding to the colspan, each time I add to the colspan an extra number it doesn't appear to be affecting the look. Another option would just be to set it to 5 or 6 and then it should cover most scenarios (at least as a quick fix until the admin can specify it)

    -Chad

     

    Chad,

    Thanks for the response. Actually, I think changing the colspan (in this case) to 5 instead of 4 would fix the problem - because the default colspan is 3 and when another row is added it actually adds 2 more rows for each field added to the above row (1 TD for the label and 1 TD with a [table] inside for the control (i.e. textbox)).

    BTW - I don't have the source code to make the change (if you want to send that to me , I would be happy to make the change).

    Thanks,

    Jon

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi