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!

I'm losing all values from all my combo boxes!
Last Post 06-21-2010 06:39 AM by Ryan Bakerink. 10 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
BSquaredUser is Offline
river guide
river guide
Posts:89
Avatar

--
06-15-2010 10:08 AM

     This is a weird one.  My form has been working perfectly, save for file attachments.  I added a group of radio buttons and some question events for displaying/hiding thumbnails of images selected by the radio buttons and now, I'm not getting any value from any of my combo boxes.  I've tried deleting the question events but that didn't do the trick - still no values.

    BUT--- as long as I don't use the calendar date, I get attachments now.

    Any idea why I would lose the values from the all the options?  The Text works fine but no option values.

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-15-2010 11:31 AM

    Hello BSquared,

     

    What version of Dynamic Forms and DNN version are you running?

    Are your combo boxes SQL driven or did you hard-code the values?

    When you say you don't have any values in your combo boxes do you mean on the form before submission, or when you submit the form you don't receive the values selected in the combo boxes?

    Thanks,

     

    Ryan

     

    BSquaredUser is Offline
    river guide
    river guide
    Posts:89
    Avatar

    --
    06-15-2010 12:47 PM
    DNN is 5.02.03
    DF is 3.30.61

    There are 8 combo boxes in total and none are passing values. Nothing shows up in debug mode - the relevant fields are empty on submits. Likewise in the Advanced Features/View Form Results and in my SQL Server itself. 1 list is hard coded, 3 are populated by SQL in the Question Options and the rest use Sprocs in the question options.

    Oddly enough, I have a multi-select list box and it works fine - however if I change any of the combo boxes to single-select list boxes, I still don't get anything. But if I change the type to a multi-select, I get the values again.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-15-2010 04:17 PM
    Hi... Does it change / work if you change these to be radio buttons? This should help us determine if its an issue such as the actual question type, or maybe something such as the token.

    Also, does the $(ComboBoxToken) NEVER get replaced, or does it simply get replaced as blank? If it never gets replaced, make sure you don't have spaces in the short field name (at the end of the short field name) etc...


    -Chad
    BSquaredUser is Offline
    river guide
    river guide
    Posts:89
    Avatar

    --
    06-16-2010 05:36 AM

     I'll have to check. Just for fun, I started a top-down re-build of the form last night, checking it along the way.  I started with 3 hidden fields, an HTML field, followed by a group of 4 horizontal radio buttons, 4 HTML fields (set to hidden until opened by another question), a file attachment field, and two combo boxes (SQL driven) and 3 long text fields.  So far, everything works great but about 2/3 of the original form needs to be re-created.

    All of which makes me think that I've got something in the way on my original form.  I've been working on it a long time, adding and deleting fields, re-ordering everything, changing field types and all.  It's not inconceivable that with all the work I've done, some tiny something got into the works somehow and is rearing it's ugly head.

    That said - I changed the field type on 2 of my lists - 1 with static options and the other database driven.  In both cases, the values came through.

    None of the short field names have spaces.  And, as far as I can tell, the tokens are being dropped completely.  The debug output does not show spaces - only single quotes where the strings should be.  Not spaces in the SQL table either.

    2 other things - I'm not using AJAX to submit the forms - only for question events.  Also, I notice that if I don't put anything into the date (with calendar) field, the attachments work.  Add a date by hand or via the calendar, the attachment doesn't get added to the e-mail.  Just FYI.

    BSquaredUser is Offline
    river guide
    river guide
    Posts:89
    Avatar

    --
    06-16-2010 09:33 AM

     I've completed the basic re-build of my form - still don't have all the custom javascript, css or SQL events running but, so far, everything is working posting data.  Plus, having moved from the date with calendar option to a textbox, I'm even getting the file attachments.  So something in that older form had gotten out of sorts and was big trouble.

    3 questions remain.  

    First, I'm using a multi-line select box.  I can't get it to open up more than 4 l ines.  I have it set to 25 but it's not working.  I do have a 2 line header that may be influencing things - I may have to move the header into an HTML field and see where that gets me.

    Second - on the date field with textbox option, is there a way to lay in a mask like MM DD YYYY? 

    Third - again with date field with 3 textbox option.  When I reload the form in edit mode, the two date fields are not loading the data from the database (in format mm/dd/yyyy).  Any suggestions?

    Thanks...

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-17-2010 10:48 AM

    Hello BSquared,

     

    Are you familiar on how to use the IPortable feature?

    I have seen someone with a similar problem as you, I would recommend exporting the page that isn't working and Import it onto a new page.

     

    Please let me know if this works for you.

     

    Thanks,

     

    Ryan

    BSquaredUser is Offline
    river guide
    river guide
    Posts:89
    Avatar

    --
    06-17-2010 11:02 AM
    I've seen it - in fact I'm using it as we speak. I wasn't sure if I re-imported the older, exported form if the problems would follow. I wound up re-creating the form and all is working fine. I am using the export as versioning control - before I make a big change or add something new, I'll export what I have just in case I need to revert to a working version.

    I'm curious about something - in the multi-line select box, there is an option where you set the number of rows and the size of the box. I've noticed that no matter what I set this to, the box that's created is always a size 4 - exactly the same as the single select box. The database values are correct - it just doesn't get translated into the generated code as the page is being written.

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-17-2010 11:17 AM

    Hello BSquared,

     

    You can set the height of the multi-line box right below the radio button where you selected the field type(multi-line textbox).

    This height is what you will use instead of the rows feature in Questions Look/Feel. But to change the width of your box you will go to Questions Look/Feel and add a value to how wide you would like your box.

    Note: These values are in pixels not percentage.

    Please let me know how this helps.

     

    Thanks,

     

    Ryan

    BSquaredUser is Offline
    river guide
    river guide
    Posts:89
    Avatar

    --
    06-18-2010 08:14 PM

    I'm looking at 3 fields:

     

    Even ratcheted up that high, the height won't budge - still shows a size of 4 in view source no matter what I put in there.

    No show stopper though - I was able able to size via css.

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-21-2010 06:39 AM

    Hello BSquared,

     

    I am glad you have found a work around for this issue. I can see the height textbox is showing, initially I thought the problem was that the height textbox wasn't even showing.

     

    What is the layout of your form like?

    Is there colspan being used on some of the question fields?

     

    Thanks,

     

    Ryan

    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