Comments

7 comments

  • Avatar
    Walter Germer

    How would code it to concatenate three fields to create Project name

    say {udf_FirstName}  {udf_LastName} and  {udf_type} with say "-" between them?

    I guess we could have a fielded call {udf_Add1} which would be "-" …..

    Walter

    0
    Comment actions Permalink
  • Avatar
    Adam Witek

    Great question Walter,

    You can use the script found in the link below to copy text from one field to another.

    https://myorderdesk.zendesk.com/entries/23034003-Copying-text-from-one-field-to-another-on-a-Job-Form-MKB-0065

    I would create 3 new fields (hide them if the customer doesn't need to see them) on your form and autofill those fields with firstname, lastname, and type.

     

    Then use the script to copy that information into the JobDescription field.

     

    All the best,

    0
    Comment actions Permalink
  • Avatar
    Adam Kalcic

    Is there a way to do this if you have docmart items setup as individual fields on the order form and not a docmart menu? 

    0
    Comment actions Permalink
  • Avatar
    Adam Witek

    Adam,

    Great question! Here's the script to accomplish this when using a Single DocMart item:

    Try this:

    <script type="text/javascript">

    <!--

    $(document).ready(function() {

    $('#mod_JobDescription').val($('#val_DOCMARTFIELDNAME').val());

    });

    -->

    </script>

     

    All the best,

    0
    Comment actions Permalink
  • Avatar
    Adam Witek

    Walter,

    I've updated the comment above to reflect the new script that will copy single DocMart Items into the Job Description.

     Be sure to substitute "DOCMARTFIELDNAME" with the name of the DocMart Field name on your Job Form.

    All the best,

    0
    Comment actions Permalink
  • Avatar
    Adam Kalcic

    If you have more than one individual item on a form this seems to just copy the most recent script to the Job Description field. However, if I choose the quantity of another item on the form that doesn't get copied and the Job Description field remains unchanged. Is there another step for multiples docmart items on a form? 

    0
    Comment actions Permalink
  • Avatar
    Adam Witek

    Adam,

    We do not have a fix for the scenario you are describing above. Hopefully we will soon!

    Thank you,

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk