Some questions about registration form

fares5shm 03 Jan, 2011
Hi:
First of all, thank u very much for this great support in this forum, and for your terrific extentions.

I am just a beginner in J! and CF, but I follow the great tuts u provide in your site, and I finally could make my own registration form using CF.

but still have some issues:
1- can I make the date time picker looks like dropdown menus not as a calendar?
2- can I add term of use choice in the end of my form?
3- where can I see the records of the form?
4- can I export these records (or some of them) to CSV file? { I found a code in this forum about that but I didn't know which table have to export} 😢

thanks in advance...
GreyHead 03 Jan, 2011
Hi fares5shm,

1- can I make the date time picker looks like dropdown menus not as a calendar?


You can add your own drop-down boxes if you prefer. Or you can build a custom datepicker that links to drop-downs. Please see this post.

2- can I add term of use choice in the end of my form?


Yes, you can use a checkbox and a text element.

3- where can I see the records of the form?


Assuming that you have set up a DB Connection so that the records are saved in a database table then you can click the table name link in the ChronoForms Forms Manager 'Tables Connected' column to see a simple record viewer. Otherwise you can use PHPMyAdmin to view as you would any other table.

4- can I export these records (or some of them) to CSV file?


The ChronoForms data viewer has icons to export to CSV or Excel.

Bob
fares5shm 03 Jan, 2011
thanks admin, your replay was very useful.

in this post: http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=59612#p59612
you made the date from each dropdown item goes automatically to the DATE text field, that's fantastic. but, can you tell me how I can make this without showing the calender next to dropdown elements???
I want to get rid of the calendar completely.

I tried to make some changing in this code:
    window.addEvent('domready', function() {
      myCal = new Calendar( {
        year: { year: 'Y', month: 'm', day: 'd' } },
        { classes: ['dashboard'],
          onHideComplete : function() {
            $('date').value = $('day').value+'/'+$('month').value+'/'+$('year').value;
          } 
        }
      );
      $('date_holder').addEvent('click', function(){
        $('date').value = $('day').value+'/'+$('month').value+'/'+$('year').value;
      });
    });


BUT without any success. :?
GreyHead 04 Jan, 2011
Hi fares5shm,

There's an example here. You'll need to add some validation and code to combine the inputs into a single date if that is what you need.

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