Announcement

Collapse
No announcement yet.

User defined field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    User defined field

    Hi
    I need a little help coding a drop down box in response to the USER DEFINED" field in 'Design | text | Web Site(Cont) | Invoice Address' .
    What I want to achieve is a response a question "Is this a Business or Residential address? in the form of a drop down box. And the response would be displayed under ORDERS.
    This is useful in the U.S. when using UPS.
    Has this been done?
    Thanks
    Dave
    www.baypressservices.com

    #2
    Edit layout Invoice User Defined

    Replace
    Code:
          <input type="text" name="INVOICEUSERDEFINED" size="20" maxlength="255" value="<Actinic:Variable Name="InvoiceUserDefined"/>" />
    with
    Code:
    	<select name="INVOICEUSERDEFINED">
    		<option value=""></option>
    		<option value="Residential">Residential</option>
    		<option value="Business">Businsess</option>
    	</select>
    Also check the Required field in Design / Text as this will force the customer to make a choice here.

    NB Untested.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Perfect
      Thank You
      Dave
      www.baypressservices.com

      Comment


        #4
        Follow up question.
        After replacing the above code, and finding that it worked as described, I am looking to correct the Title of the user defined field on the Order data Report from "User Defined Field" to "Please select Business or Res address".
        If this is in "Design / Text ", it does seem to be editable.
        Any idea where this is done?
        Thanks
        Dave
        www.baypressservices.com

        Comment


          #5
          It's in Design / Text on the Order Processing Reports tab. You have to specify the value for each report (so packing list and data entry if you use them both).

          Regards,
          Jan Strassen, Mole End

          Comment

          Working...
          X