Dropdown codes in Safari

Last post 07-20-2009, 11:04 AM by ThePope78705. 2 replies.
Sort Posts: Previous Next
  •  07-18-2009, 12:12 PM 54081

    Dropdown codes in Safari

    I have a custom drop down box that I have populated via the configuration file like so:
     
    <dropdowns>
        <Codes>
          <item name="Address 1">
            <value><![CDATA[<input id="Address1" name="Address1" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Address 1]]></html>
          </item>
          <item name="Address 2">
            <value><![CDATA[<input id="Address2" name="Address2" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Address 2]]></html>
          </item>
          <item name="Change Email Link">
            <value><![CDATA[<a href="#CHANGEEMAILADDRESSLINK#">Change</a>]]></value>
            <html><![CDATA[Change Email Link]]></html>
          </item>
          <item name="City">
            <value><![CDATA[<input id="City" name="City" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[City]]></html>
          </item>
          <item name="Company">
            <value><![CDATA[<input id="Company" name="Company" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Company]]></html>
          </item>
          <item name="Country">
            <value><![CDATA[<select id="Country" name="Country" RegionCode="AUTO" IsRequired="False"><option value="" selected>-Auto Populate-</option></select>]]></value>
            <html><![CDATA[Country]]></html>
          </item>
          <item name="Email Address">
            <value><![CDATA[<input id="EmailAddress" name="EmailAddress" RegionCode="" IsRequired="False">&nbsp;<a href="#CHANGEEMAILADDRESSLINK#">Change</a>&nbsp;&nbsp;&nbsp;<a href="#NOTYOULINK#">Not You?</a>]]></value>
            <html><![CDATA[Email Address]]></html>
          </item>
          <item name="Fax">
            <value><![CDATA[<input id="Fax" name="Fax" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Fax]]></html>
          </item>
          <item name="First Name">
            <value><![CDATA[<input id="FirstName" name="FirstName" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[First Name]]></html>
          </item>
          <item name="Last Name">
            <value><![CDATA[<input id="LastName" name="LastName" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Last Name]]></html>
          </item>
          <item name="Mobile Phone">
            <value><![CDATA[<input id="MobilePhone" name="MobilePhone" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Mobile Phone]]></html>
          </item>     
        </Codes>   
      </dropdowns> 
     
    On IE and Firefox this workd perfectly, but on Safari, these options show up as blank lines. You can select the blank line, but you can't see what you are selecting.
    Are they being defined incorrectly?
    Thanks!Patrick 
     
  •  07-20-2009, 2:50 AM 54088 in reply to 54081

    Re: Dropdown codes in Safari

    Hi ThePope78705 ,
     
    Try propertites 'Text', test my code below
     
    <dropdowns>
        <Codes>
           <item name="Address 1" text="Address 1">
            <value><![CDATA[<input id="Address1" name="Address1" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Address 1]]></html>
          </item>
          <item name="Address 2" text="Address 2">
            <value><![CDATA[<input id="Address2" name="Address2" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Address 2]]></html>
          </item>
          <item name="Change Email Link" text="Change Email Link">
            <value><![CDATA[<a href="#CHANGEEMAILADDRESSLINK#">Change</a>]]></value>
            <html><![CDATA[Change Email Link]]></html>
          </item>
          <item name="City" text="City">
            <value><![CDATA[<input id="City" name="City" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[City]]></html>
          </item>
          <item name="Company" text="Company">
            <value><![CDATA[<input id="Company" name="Company" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Company]]></html>
          </item>
          <item name="Country" text="Country">
            <value><![CDATA[<select id="Country" name="Country" RegionCode="AUTO" IsRequired="False"><option value="" selected>-Auto Populate-</option></select>]]></value>
            <html><![CDATA[Country]]></html>
          </item>
          <item name="Email Address" text="Email Address">
            <value><![CDATA[<input id="EmailAddress" name="EmailAddress" RegionCode="" IsRequired="False">&nbsp;<a href="#CHANGEEMAILADDRESSLINK#">Change</a>&nbsp;&nbsp;&nbsp;<a href="#NOTYOULINK#">Not You?</a>]]></value>
            <html><![CDATA[Email Address]]></html>
          </item>
          <item name="Fax" text="Fax">
            <value><![CDATA[<input id="Fax" name="Fax" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Fax]]></html>
          </item>
          <item name="First Name" text="First Name">
            <value><![CDATA[<input id="FirstName" name="FirstName" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[First Name]]></html>
          </item>
          <item name="Last Name" text="Last Name">
            <value><![CDATA[<input id="LastName" name="LastName" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Last Name]]></html>
          </item>
          <item name="Mobile Phone" text="Mobile Phone">
            <value><![CDATA[<input id="MobilePhone" name="MobilePhone" RegionCode="" IsRequired="False">]]></value>
            <html><![CDATA[Mobile Phone]]></html>
          </item>
        </Codes>
      </dropdowns>
     
    Regards,
     
    Ken
  •  07-20-2009, 11:04 AM 54101 in reply to 54088

    Re: Dropdown codes in Safari

    Thanks! that worked great!
View as RSS news feed in XML