Im new to dnn & Dynamic Forms
Last Post 02-16-2010 11:18 AM by ClydeG. 77 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
ClydeGUser is Offline
going with the flow
going with the flow
Posts:61
Avatar

--
10-30-2009 09:12 AM

    I am an admitted newbie, so I may be missing something. I have looked at the UserGuide and the tutorial from DNNCreative.

    I am trying to add a form to a page and have followed the steps to add one to the page. According to the guide and the tutorial, after the question wizard is run the forms are supposed to show on the page. They aren't showing up. Is there a step I may be missing? I am logged in as the host super user and have the edit function selected.

    Thanks for any advise!

     

    Clyde

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-30-2009 09:38 AM
    Hi, very strange. What version of DNN and Dynamic Forms are you using? Is there any javascript error on the page? If you go to Admin / Event viewer, do you see any error messages listed there also? -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    10-30-2009 09:48 AM
    There arent any errors. I am using DNN 5.0.1 and Dynamic Forms 3.1...
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-30-2009 10:05 AM
    Can you click on the "control panel" icon of DF? If so, an you go to "Manage Questions" and see any questions that were created by the wizard?

    Also, if you were to create a whole new page and add the DF module and try the quick wizard to create one or two textbox fields, could the same problem be duplicated? -- david
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    10-30-2009 10:17 AM
    This is the only thing in there:
    Add or update your dynamic forms settings below. Dynamic forms fields can be either HTML or a form field such as textbox, dropdownlist, radio buttons, or a checkbox. Additional options allow you to mark some fields as required and others as optional, add JavaScript validation to a field, choose to take advantage of querystring and session variables, and much more. For a full list of available options and help please refer to the Dynamic Forms User Guide located at datasprings.com.

    There wasnt any difference in a new page.
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-30-2009 11:29 AM
    HI, for a quick fix to this issue, please go to Host / SQL and type in:

    ALTER PROCEDURE {databaseOwner}[{objectQualifier}DynamicForms_GetDynamicQuestionEventByAffectedQuestion]
    @DynamicQuestionID as uniqueidentifier

    AS

    select * from {databaseOwner}{objectQualifier}DynamicForms_DynamicQuestionEvent

    Where (DynamicQuestionEventID In (Select DynamicQuestionEventID from {databaseOwner}{objectQualifier}DynamicForms_QuestionEventHiddenFields Where DynamicQuestionID = @DynamicQuestionID)
    OR DynamicAffectedQuestionID = @DynamicQuestionID) AND InActive=0
    AND IsDisabled =0


    Then go to Host / Host Settings and restart the application. See if this will fix up your problem.
    -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    10-30-2009 12:45 PM

    WooHoo! Thanks David, that did the trick!

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-02-2009 11:37 AM
    ok, so now when I try to import a sample form...the "import content" and "export content" options are not available. Is there a chance I had a faulty install? I do not remember seeing any errors.
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-02-2009 12:31 PM
    Very strange. Do other modules have Import / Export content available? Please go to Host / SQL and type in:

    update desktopmodules set supportedfeatures = 5 where friendlyname like '%Dynamic Forms%'

    See if this works for you. No idea why your install is missing these features. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-02-2009 03:05 PM
    Im not sure either. I saw it did not have asp.net 3, so I installed that and tried the script. That didnt work. I may try reinstalling the dynamic forms module and let it repair to see what happens..
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-02-2009 03:13 PM

    It does work for regular apps...but the reinstall did not work

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-03-2009 05:44 AM

    Since this was a new install with not that much work done to the site, and I need the practice....I simply started over and the import works. I still had to run the sql script from the earliar issue though.

     

    Thanks,

    Clyde

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-03-2009 06:22 AM
    HI, glad you finally got it to work. Thank you for your patience. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-03-2009 07:09 AM
    Thanks David, I appreciate all the help!
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-04-2009 05:29 PM
    David, I am trying to accomplish something that the demo does on this page:

    http://www.datasprings.com/Products...fault.aspx

    I am not real clear on where the java is supposed to go to fix the problem. Which element does it go to, the html output, or the radio button area for example. I cant seem to get it to function.

    Thanks for your patience on a newbie. The product is excellant and I hope to utilize it completely! Thanks again
    Clyde
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-05-2009 06:26 AM
    HI, the document.getElementById('IDName').innerHTML needs to be included for the TEXT/HTML field entries. The 'IDName' is the name of the ID you give it in the Rich Text Editor if you were to click on the source. If you want, please export your particular form to www.betasprings.com(username: host, password: dnnhost) and send us the URL/TABID and we'll take a look at fixing it for you. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-05-2009 06:51 AM
    I have it on an internal site only right now and will make it live after everything is working. So that would make it difficult for you to access.
    I actually created a page with the form that you have on the site to test and figure out the process.
    This is what I have for the first radio button text html field. I think I may be close, but its not there yet....

    Your total comes to: $0.00

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-05-2009 07:03 AM

    ha, the code didnt go through...let me try again...

     


     

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-05-2009 07:15 AM
    You can export the XML content of the form to www.betasprings.com and I can take a look at it there. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-09-2009 05:44 AM

    Hi David, I actually beat up on this thing for a few days and figured it out. I was trying to add to much to it.....thanks again!

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-12-2009 07:12 AM

    Hi again David,

    I am running into the "missing import and export" feature again. I have done a few pages and done a good bit of work on them and now am unable to import or export again.

    I tried running the script you posted earliar but that did not work. Any suggestions?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-12-2009 07:39 AM
    Try this under Host / SQL:

    update desktopmodules set SupportedFeatures = 5
    where friendlyname like '%dynamic forms%'

    -- david
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-12-2009 07:41 AM

    I get this error:

    System.Data.SqlClient.SqlException: Invalid object name 'desktopmodules'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) update desktopmodules set SupportedFeatures = 5 where friendlyname like '%dynamic forms%'

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-12-2009 07:50 AM
    Do you have any object qualifiers in your DNN website? At host / sql type in this instead:

    update {objectQualifier}desktopmodules set SupportedFeatures = 5
    where friendlyname like '%dynamic forms%'

    -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-12-2009 08:00 AM
    I havent added any qulifiers...but that worked, and the import/export is back.
    I don't understand why they may have disapeared.
    Thanks again for your help. You have been very prompt and very helpful!
    Clyde
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-12-2009 12:18 PM

    I am trying to creat a form that can be printed, signed and them mailed in. It should fill the pdf form with the data entered on the website and I would like to have some info included at the bottom as shown below starting with the text in red. I have it as a text/html field on the dnn form as well. Is that possible?

    Be sure to include with your enrollment form:

    • Check or money order payable to ESF Education Payment Plan
    • Bank Draft Authorization if you choose that method of payment

    Mail to: ESF Education Payment Plan, PO Box 4996, Jackson MS 39296

    Questions?

    Please call Monday - Friday between 8:00 am to 5:00 pm Central Time

    Toll Free 1.877.891.1262 or email: payplan@esfweb.com

    ___________________________________
    Signature of Person responsible for Payments

    ________________
    Date

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-13-2009 06:12 AM
    You can create a PDF completion event and actually enter the above information under the footer section of the PDF completion event. Try this out and see if it works for you. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-13-2009 06:21 AM
    Hi David, it only allows one line. It doesnt allow the multiple lines we need.

    I am also getting this error:
    Message: 'dnn.controls.toolbars' is null or not an object

    I saw on the forum where I am supposed to add a line to the dnn menu control, but am not sure where to find that
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-13-2009 07:44 AM
    HI, I don't believe using a Text/HTML field token to include in the PDF Footer will work. I tried it but it did not get written. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-13-2009 07:48 AM
    Yes, I had the same result. It doesnt look like the pdf file is very easy to customize at this time. I couldnt add that in the email itself either.
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-13-2009 08:27 AM
    HI Clyde, you should be able to add the PDF file to the email though. I've done this before and it works fine. You have to create the PDF file first (another words, it must have a smaller sort order than the email event). -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-13-2009 08:38 AM

    Yes, I can get it to do that, just not able to customize it very much.

    Can you give me any advise on the error I am having on the pages that have the dnn forms?

    Message: 'dnn.controls.toolbars' is null or not an object

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    11-19-2009 04:37 AM
    Good morning, I have another problem. I had to move to a new server and basically start over. I installed the module, but it failed the first time. I reinstalled and it ran correctly. It doesnt show as an available module ti add though. How can I fix this without recreating the portal again?
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    11-19-2009 07:15 AM
    Try this under Host / SQL:

    update desktopmodules set SupportedFeatures = 5
    where friendlyname like '%dynamic forms%'

    -- david

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    12-15-2009 05:55 AM

    I have a new dilemna.  I am now required to have the form print on submit. I saw on one thread that the "Tailored Text/HTML module" is the way to do this. Before I purchase another module, I want to ensure that this is the best and only way to accomplish that. It also requires a signature block and line at the end of the form. Will it be able to do that as well?

    Thanks,
    Clyde

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    12-16-2009 06:55 AM
    HI, I'm somewhat unclear about what you are trying to achieve. So let's say I'm a user and I've filled out the form. Once I click on "Submit", the form will print to a printer for me automatically, is this what you are trying to achieve?

    Or are you wanting the end user to click on "Submit", the data will be saved and then you as an Admin will log in and be able to print out the form that the end user submitted? -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    12-16-2009 06:59 AM

    You got it right at first glance. When a user hits submit, it should print the form for him...or open a new page with a populated form for them to print.

    I was given a pdf that they want it to look like...with some instructions at the bottom and such....

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    12-16-2009 07:21 AM
    Hi, perhaps the best way to achieve this is using PDF completion event to create your PDF file (low sort order) and adding an email completion event (higher sort) order to send the PDF file to your end user so they can have a copy of it.

    The problem with Tailored HTML is:
    1) you will need to redirect user to this Tailored HTML page
    2) you will need to perform some SQL query to retrieve the data that the user just submitted (by default, the data is stored in several DynamicForms tables so it may be wiser/easier to save the data in your own custom table for retrieving).

    Which route do you want to go? -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    12-16-2009 07:26 AM
    Well, I have the email completion event and that is not turning out like they want, so I would need a way to do both. It looks like creating the custom table is the way to go.
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    12-16-2009 07:36 AM
    But before going the create custom table route, I suggest creating a basic layout of exactly who you want your form to look like in Tailored HTML and showing it to them for approval before tying in the SQL query / data retrieval, etc. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 05:42 AM

    I am back to it now...

    I have it exactly what it needs to look like on the dynamic forms page. In order for this to work, I am assuming that they will need to be registered for it to pull in the correct data, is that correct?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-05-2010 06:58 AM
    Hi, what data are you trying to pull in? Can you refresh my memory about how you want to apply Dynamic Forms on your website? If you are trying to modify their profile, then you should be using our system product Dynamic Registration which reads/updates the DNN Core profile of a registered user directly. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 07:08 AM
    I have a dynamic form which users will submit for loan purposes. It is gathering the typical user information with additional fields such as school, state, amount, timeframe, etc. They will need to print this out, sign it and then send it in after it is submitted.
    We will use the data to begin populating our system when it is submitted.
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 09:18 AM

    Here is a screen capture:

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-05-2010 11:14 AM

    Hi Clyde,

    Let me jump in here with some tips.  You can pull profile properties into your Dynamic Forms fields by going to the Advanced Field Options of each field and linking this with a DNN core property from the dropdown list there.  Commonly linked items are First Name, Last Name, Email, etc.   However, if you're collecting info like School, DOB, SSN, etc. upon registration, just make sure that these are linked to core properties for Dynamic Forms to pull in.

    David gave you some really good suggestions with regards to the print option.  The best option is the PDF event that can be emailed to the user and then printed out and signed.   I realize it might be a little time consuming to get the look you want on the PDF but once you get this done, it should be a good fit to your requirement.  Thanks!

    Candace

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 11:21 AM
    I guess I am missing something. When I create the pdf, all it does is include the data in list view and doesnt seem to have the option to modify it in anyway. I am using version 3.10.1, is there a newer version that has increased functionality by any chance? The finished form needs to look similar to what it does above.
    Sorry about my confusion and thanks so much for your help,
    Clyde
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-05-2010 11:33 AM

    We're actually getting ready to release a DF patch by Friday or so.  However, even without this patch, you should have full layout control with your PDF.   Some 'looks' may be more difficult to achieve but with some HTML and tables with 0 borders, etc. you can create something similar to your example.   With the tokens, the PDF will reflect any responses that the user entered (or auto-populated) as they were filling out the form. 

    Thanks,
    Candace

     

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 12:19 PM

    Hi Candace,

    When I try to add any additional html to the pdf event, it doesnt save it. It shows up in the source code until I hit update event and then it disapears.

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-05-2010 12:29 PM

    We've had this reported before but there's an easy workaround.  Please go to Module Configuration and disable AJAX from the form then edit your PDF again.  Before you hit update, click on source and copy and paste this to Notepad, just in case.

    If it still does not save, edit the PDF again but before you hit update, switch the editor from Rich-Text to Basic Text then hit update.  Let me know which one did the trick for you.  Thanks!

    Candace

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 12:49 PM

    WOOHOO!!! That works...now, one more question, is there anyway I can get that pdf form to display or print in addition to emailing out?

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-05-2010 01:47 PM

    Yay!  But no, at this time, the PDF can only be included in the email as an attachment or a link.  Still, yay!

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-05-2010 05:19 PM
    ha, I agree, YAY! Thanks again for the help. I tried to do this before and it never worked. Will the ability to print or display the pdf file be available in a future release perhaps?
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-06-2010 07:13 AM

    Can't say anything definite at this time but this is a good idea and we will add it to the enhancement request list.   Thanks!

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-08-2010 09:41 AM
    Candace, I have found another issue...it doesnt seem to work on firefox, but works fine on internet explorer. I am using what is in demo 27 of your examples that is giving me the issues.
    Thanks for any help you can give!
    Clyde
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    01-08-2010 10:40 AM

    Hi Clyde,

    Can you please describe what happens when you say it doesn't work on FF?  Is the form not submitting correctly or is not showing up right with the tabs module?  Thanks!

    Candace

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-08-2010 10:46 AM
    I am using this to output to an custom html field:
    # Monthly.innerHTML = 'Your total comes to: ' + (parseInt($(Amount)) - (parseInt($(Minus)))) / (parseInt($(Months))); + '';
    The html field does not calculate in Firefox, but does well in IE.
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-08-2010 10:47 AM
    Minus the "#" obviously.
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-08-2010 10:53 AM
    I did notice that your sample doesnt seem to be working anymore.
    http://www.datasprings.com/Products...fault.aspx
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-11-2010 06:58 AM
    In order for the HTML field to calculate on all browsers, be sure to use the getElementById("ID".innerHTML) function. Another words, make sure your HTML field has an ID specified with it (you can see or set it by clicking on "Source" of the Rich Text Editor). -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-11-2010 09:46 AM

    This is what I have there now:
    h1 id="Monthly">Your total comes to: $0.00

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-11-2010 09:46 AM

    id="Monthly">Your total comes to: $0.00

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-12-2010 06:42 AM
    HI, have you gotten this to work yet? Again, you need to use the "document.getElementById" on all the fields that requires a sum / recalculation. If you are still struggling with this, please feel free to export your content to a page on www.betasprings.com(username: host, password: dnnhost) and send us the URL / TABID and I will gladly see if I can total it for you. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-12-2010 10:18 AM
    I added a page on betasprings.com called clydeg1. I added 2 modules to the page. The first one works on my site in IE but the second doesnt. Oddly enough, neither works there...

    Thanks for your help,

    Clyde
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-13-2010 07:44 AM
    Can you post the TabID / URL? Having a "page name" doesn't help since there are hundreds of pages on the site and would be very difficult to locate. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-13-2010 08:31 AM
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-13-2010 09:43 AM
    DONE. I fixed the top module. You need to change client side script to this:


    document.getElementById('Monthly').innerHTML = 'Your total comes to: ' + (parseInt($(Amount)) - (parseInt($(Minus)))) / (parseInt($(Months))); + '';

    -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-13-2010 10:00 AM
    Thank you very much. That fixed it. Will use the code to fix my large form...thanks again!
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    01-15-2010 07:58 AM

    I have one more question on this form. I need to have the calculation show in currency value. To 2 decimal places. What change will I need for that?

    Thanks

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-10-2010 01:03 PM

    Is there a way to make the total show as currency?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-10-2010 01:32 PM
    Add in something like this to your javascript:
    var total;
    total = (parseInt($(Amount)) - (parseInt($(Minus)))) / (parseInt($(Months)));
    ocument.getElementById('Monthly').innerHTML = 'Your total comes to: ' formatCurrency(total) + '';

    -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-15-2010 06:27 AM
    I have tried this several different ways and it doesnt work. I get an error : expected. I am not sure where it is missing. This is the latest variation:

    :var total;
    $(Total) = (parseInt($(Amount)) - (parseInt($(Minus)))) / (parseInt($(Months)));
    document.getElementById('Monthly').innerHTML = 'Your Monthly Payments will be: ' formatCurrency$(total); + '';
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-15-2010 06:33 AM

    var total;
    $(total) = (parseInt($(Amount)) - (parseInt($(Minus)))) / (parseInt($(Months)));
    document.getElementById('Monthly').innerHTML = 'Your Monthly Payments will be: ' + formatCurrency($(total));

    Try the above (NOTE: you had a ":" in front of the "var tota" which is incorrect. Also, javascript is case sensitive so the 2nd line should be $(total) and NOT $(Total) .

    I would also suggest using Mozilla Firefox with Firebug enabled for debugging javascript.

    -- David

    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-15-2010 06:52 AM
    Stil not working for some reason. Here is what is working:
    document.getElementById('Monthly').innerHTML = 'Your Monthly Payments will be: ' + '$' + (parseInt($(TotContractAmt)) - (parseInt($(Minus)))) / (parseInt($(TotNbrPymts))); + '';

    This is what I tried:

    var total;
    $(total) = (parseInt($(TotContractAmt)) - (parseInt($(minus)))) / (parseInt($(TotNbrPymts)));
    document.getElementById('Monthly').innerHTML = 'Your Monthly Payments will be: ' formatCurrency$(total); + '';

    As you can see, some of the field names changed, but that is it. Any idea. The firebug isnt giving me any insight.
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-15-2010 06:56 AM
    Hi, at this point, it's best for you to export your form to www.betasrpings.com (username: host, password: dnnhost) and state the URL/TABID here and I'll take a look at it either today or tomorrow morning. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-15-2010 07:16 AM
    Thanks so much for your help. Yall are always helpful and very prompt!

    Here is the url:

    http://www.betasprings.com/ClydeGFo...fault.aspx

    Thanks again,

    Clyde
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-16-2010 09:56 AM
    Hi David, were you able to find the page?
    Thanks,
    Clyde
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-16-2010 10:51 AM
    DONE. Please take a look at the updated javascript on those fields. -- David
    ClydeGUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    02-16-2010 11:18 AM
    Thats it! Thanks a ton!


    ---
  • 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