Best Buy in Business Notebooks

Which is the most ideal executive laptop currently available on the Irish Market?

THESE DAYS no self-respecting business person can do without a notebook if they want to be taken seriously. If you’ve not invested in one yet or are thinking of replacing your old one for a new top of the range model, then your timing is excellent. Because not only are Notebooks getting smaller, they’re also getting tougher.

Once upon a time, the humble notebook was seen as a poor substitute to the mighty desktop PC. As a work tool, they lacked processing power and battery life and worse; they were heavy.   Times change though and most modern notebooks have plenty of punch in them, and compared to the beige box, they look a whole lot better.

We contacted the top manufacturers and asked them to submit a machine worth EUR2,600 or less for our best buy test. We were looking for a business notebook that was tailored to meet the needs of a corporate user. The Laptops we were after had to have plenty of processing power, wireless capabilities, a light-form factor and ample memory and hard disk space. Here’s what we thought of them.

 

advertisement

 

*** Best Buy ***            

Toshiba Tecra 9000

Toshiba has built a great reputation over the years due to their ability to deliver quality products that look good and work well. The Tecra 9000 is one of a number of the company’s stylish notebooks and in terms of value for money, one of the best.

Cased in a durable light magnesium casing that will keep it safe when traveling, the Tecra is a classy number. While its great design is impressive enough to win over the hearts and minds of even the strongest technophobes, it’s what’s inside the notebook that really counts.

Powered by an Intel Mobile Pentium III 933Mhz processor with SpeedStep technology, a 133MHz bus speed, 16Kbyte of write back Level 1 cache and 512Kbyte Level 2 cache, the Tecra is truly a mean machine.  There’s also a 10Gbyte hard drive, 128Mbyte of SDRAM, 56k modem, 24x CD ROM drive, and a S3 Super Savage graphics card.

your appetite then check out the connectivity options. The Tecra is pretty much future-proof in terms of what you can connect it with because as well as an IrDA v.1 infra-red port, there’s also a 10/100 LAN interface, an IEEE1394 port, and a Wireless Local Access Network (WLAN) card based on the 802.11b standard. There’s also an optional integrated Bluetooth module available for those wanting to hook up their Bluetooth enabled peripherals.

The Tecra’s has a high-resolution 14.1-in TFT display with a maximum 1024 x 768 pixel resolution which is a joy to work from. The keyboard comes with a tracking point rather than a regular mouse pad and this does take some getting used too.

Customers can opt for either Windows XP Professional Edition or Windows 2000 as their choice of operating system and those who use peripherals such as handhelds will like the fact that the Tecra comes with a Secure Digital slot on board. The Tecra also features a Select Bay that makes it easy to swap different drives.

Like many of the Notebooks we tested, there’s not much in the way of software. The Tecra doesn’t come with anti-virus software or a productivity suite, but there is SPANworks included, a program that allows you to transfer files or folders, and share hard drives and presentation slides.

This machine boasts a battery that will last up to three hours before it needs recharging and it weighs a very reasonable 2.2 Kg in total. It also comes with a very impressive three year International warranty deal.

  • Form Factor: 9   
  • Technical specification: 8.0   
  • Business software: 7.5   
  • Connectivity options: 9.0   
  • Warranty & support: 9.5   
  • Value for money: 9.0   
  • Total 52   
  • Price: EUR2,519   
  • Where to buy – Toshiba: +353 (0)1-248 1248

Synapse C630

If everyone looked the same, the world would be a very boring place. The same is true of notebooks. Instead of the average black or grey look, the Synapse C630 has gone for three colours – black, navy and silver. A robust machine, the C630 may be suitable for those who aren’t too familiar with portable computers.

The notebook is powered by an Intel Celeron 1Ghz processor and contains 512Mbyte of RAM memory. A standard 20Gbyte hard disk drive and CD ROM drive are also included. A 15-in TFT LCD completes the package.

The touchpad mouse is easy to use, as are the silver scroll buttons. Quick access buttons launch programs such as an Internet browser and e-mail applications. These buttons double as CD controls when the AP/CD button is switched to CD. Audio CDs can be played even when the system is powered off and volume can be controlled through a button on the side of the notebook.

An infrared port enables wireless communication and a high-speed IEEE-1394 port is included, while the remainder of the connectivity options are fairly standard: 10/100 BaseT Ethernet port, modem and USB ports.

The C630 includes the Windows 2000 operating system and Microsoft Office 2002. Also included is Q-Scan, a portable colour scanner that can scan text documents and convert them to editable text files.

The machine is reasonably lightweight, making it easy to transport for computing on the move.  It also comes with a very reasonable two year return to base warranty. All in all, this notebook is a good all-rounder, although for the price, I would have expected to see a Pentium processor rather than the Celeron.

  • Form Factor: 7   
  • Technical specification: 7.5   
  • Business software: 8.5   
  • Connectivity options: 7.5   
  • Warranty & support: 8.5   
  • Value for money: 6.5   
  • Total: 45.5   
  • Price: EUR2,499   
  • Where to buy – SD Distribution: +353 (0)91-769 611

Iqon Qompanion 8200D

When I first set eyes on the iQon Qompanion 8200D, the sight of the box made me a little apprehensive. It looked more like it concealed a desktop computer rather than a notebook. The box was opened and the worry was eased – in front of me was a sleek blue and silver notebook that was no bigger than your average laptop. The rest of the box space was taken up by a handy carry case.

But removing the machine from its packaging revealed its first downfall – its weight. The Iqon machine may not be the heaviest notebook reviewed here but it’s certainly a contender. At 2.95kg, it’s not the kind of machine that can be comfortably carried all day.

Visually, this machine can’t be faulted. Its blue and silver exterior is sleek and sophisticated and the 14.1-in TFT XGA LCD displays at a resolution of 1024×768.

The Qompanion is powered by a Pentium 4 2Ghz processor, and has 256Mbyte of SDRAM and a 30Gbyte IDE hard drive. The Northwood core Pentium 4 is a desktop processor, but the inclusion of two fans and a wide area of heatsink, dissipates the heat.

This model included a DVD ROM drive, but a 24x CD ROM drive is standard.  CD RW and Combo drives are also available, but for this you’ll have to pay more. A touchpad, scroll button and right and left click buttons control mouse function feature on the notebook, but there is also the option to attach an external mouse. There are also five programmable hotkeys on the notebook which make it easy to access popular programs.

Connectivity options for the Qompanion include a modem, USB ports and Infrared communication. The FireWire port is the most notable option.

What it lacks in lightness, the Qompanion makes up for with software. Not only does the machine come with Microsoft 2000 Professional, it also includes Norton Antivirus 2002 and Microsoft Office 2000 Small Business. The system also comes with a standard one year on site warranty.

Overall I’d say that the Qompanion may not be the most portable notebook reviewed here, but it’s a good all-rounder with plenty of business software on-board. 

  • Form factor: 7   
  • Technical specification: 7.5   
  • Business software: 9.5   
  • Connectivity options: 8   
  • Warranty and Support: 7.5   
  • Value for money: 7.5   
  • Total: 47   
  • Price: EUR2,541   
  • Where to buy – Iqon: +353 (0)42-932 7270

IBM ThinkPad R31

As far as notebooks go, the ThinkPad R31 is an above average option. Powered by a Pentium III-M Mobile 1.1Ghz processor, the notebook comes with 128Mbyte of RAM as standard, which is upgradeable to 1Gbyte. The 30Gbyte is more than the standard hard drive and can be upgraded to 40Gbyte.

A DVD ROM drive is included, but the absence of a built-in floppy disk drive could be inconvenient for some business users.

Instead of the touchpad to control the mouse, the ThinkPad uses TrackPoint, located in the centre of the keyboard allowing scrolling onscreen without having to use the scrollbars on the windows.

Connectivity options include the infrared port, the USB connectors on the front and rear of the machine and the Ethernet connector. The Infrared port allows communication between wireless devices, but the positioning of it could make this a bit awkward.

This model supports 802.11b wireless LAN networking with 128-bit Wired Equivalent Privacy (WEP) encryption, including an antenna built into the display and cover. The fax/modem is 56k V.92 integrated with 10/100 Ethernet.

The operating system included with the ThinkPad is Windows XP Home Edition, but XP Professional would probably be the choice of most professionals.

On the software side, the notebook scores better than some of its competitors thanks to the inclusion of Norton AntiVirus 2002, PC Doctor and DVD software. But there’s no business packages installed on the system.

Battery life is good, with the six-cell lithium ion battery giving 2.9 hours of power. The machine weighs in at a portable 2.6kg and the ThinkPad comes with a one-year warranty.

Although there are one or two drawbacks, the ThinkPad R31 will do the job and then some.

  • Form Factor: 8   
  • Technical specification: 8   
  • Business software: 8   
  • Connectivity options: 8.5   
  • Warranty & support: 7.5   
  • Value for money: 8   
  • Total: 48   
  • Price: EUR2,270   
  • Where to buy – IBM: 1850-205 205 (Ireland only)

HP Omnibook 500

With the Omnibook 500, HP has come up with a sturdy workhorse that also wins plenty of points in the style department. In fact, they’ve come close to giving us the perfect portable. At 1.7 Kg, it’s incredibly lightweight and like the Compaq Evo, it can be separated from its docking station.

Like most manufacturers, HP allows customers a certain amount of freedom to configure a model that best suits their needs. The model we were given was the F3488k which contains a Pentium III 750Mhz SpeedStep Processor, a healthy 256Mbyte of RAM, a 30Gbyte hard drive disk, 56k modem and 10/100 LAN ports, built-in Wireless LAN, CD ROM drive, ATI mobility graphics card and a 12.1-in TFT display. Also included in with this is a Multimedia Expansion Base that allows users to easily swap different drives.

The docking station itself is a gem in terms of design, because unlike most stations, it includes a time display and a set of hotkeys for controlling CD playback. However, one big fault that I found was that it was difficult to remove the Notebook from the station. Secondly, while it’s great to have hotkeys for CD playback, the sound on the Omnibook isn’t great.

The keyboard includes a tracking point button for navigation and easy-to-use controller buttons. In terms of connectivity, the Omnibook scores well by including an Infrared port for synching up with peripherals and an integrated wireless 802.11b feature.

The 5000 comes with a Lithium Ion battery that lasts a healthy three hours, while the software package contains McAfee Virus Scan, HP Top Tools, HP Presentation Ready and QuickLink III fax software. The machine runs on Windows 2000, (although it is also available with Windows XP) and HP offers a one-year worldwide parts and labour limited warranty.

Overall, I have to say I was impressed with the Omnibook. However, the fact that it was so difficult to remove from the docking station is a major flaw and this together with the fact that HP sent in a Notebook that was way over the price limit, means that they lose a few valuable points.

  • Form Factor: 9.5   
  • Technical specification: 8.0   
  • Business software: 8.0   
  • Connectivity options: 9.0   
  • Warranty & support: 8.0   
  • Value for money: 7.5   
  • Total 50   
  • Price: EUR2,704   
  • Where to buy – HP Ireland: +353 (0)1-615 8200

Dell Inspiron 2600

The Inspiron 2600 is a notebook that is aimed more at the small business or home user rather than at corporate executives. However, it’s worthy of inclusion in our road test for a number of reasons.

Firstly, this is an old-school classic. While it’s a brand new notebook (in fact, this is an exclusive review), it retains many of the features usually seen on older notebooks. Take the keyboard for example; the Inspiron doesn’t opt for a tracking point for navigation. Instead, users can move about by using the traditional mouse controls, which are considerably easier to master.

The Inspiron is also a big beast of a machine. While this makes it problematic for those who are constantly on the move, if you’re only traveling here and there, it isn’t such a big ordeal lugging it around. The advantage of it being so large is that users get a good display screen that is considerably easier to work from than most notebooks. In short, the Inspiron is like a desktop PC that you can shift about easily.

Powered by an Intel Mobile Pentium III 1Ghz processor with 512k L2 cache, the 2600 also comes with 128Mbyte of RAM, a 20Gbyte hard drive, 8x DVD ROM drive, Intel integrated 3D AGP graphics, 56k modem and sound card. As with all Inspirons, the 2600 can be configured to your particular needs. So if you want integrated networking for example, you can get it if you’re prepared to pay more.

As a pre-production system, the review model we received had Windows XP Home Edition, however, it does normally come with XP Professional. The Inspiron come with an eight cell Lithium Ion battery that should last for about three hours, and Office XP Small Business Edition. There’s also a one year collect and return warranty, although customers can opt for a three-year accidental damage cover policy if preferred.

The overall verdict is that as a notebook for small business and home users, the Inspiron is great, but isn’t really suitable for mobile professionals.

  • Form Factor: 8.0   
  • Technical specification: 8.0   
  • Business software: 8.0   
  • Connectivity options: 8.0   
  • Warranty & support: 7.5   
  • Value for money: 8.5   
  • Total 48   
  • Price: EUR2,224   
  • Where to buy – Dell Ireland: 1850-333 200 (Ireland only)

Compaq Evo N200

We have a ban on using the term ‘sexy’ to describe products here at PC Live! and with good reason too. However, it really is hard to find another word that aptly illustrates how cute looking the Evo N200 is.

Rarely have I come across a notebook that I liked so much on first impression. It’s small, slinky and lightweight enough, to appeal to just about anyone. Another plus on the design front is that the Evo comes with a docking station from which the laptop can be separated. This means that mobile warriors can get about without having to carry a heavy load.

However, looks aren’t everything and most potential buyers would rather sacrifice style in exchange for a notebook that has multiple connectivity options and plenty of firepower.

The good news is that the Evo succeeds on that front as well. It’s powered by an Intel Mobile Pentium III 700Mhz processor with a 512Kbyte L2 cache, comes with 192Mbyte of SD RAM, a 20 Gbyte hard drive, sound card, ATI Mobility L graphics card with 4Mbyte of SD RAM, 56k modem plus 10/100 NIC combo, and a wireless networking card or WLAN (Wireless Local Area Network) as it’s also known. In addition to this, users can also purchase a mobile expansion unit comprising either a CD-ROM drive for EUR252, an 8x DVD ROM drive for EUR405 or a 4x4x20 CD RW drive for EUR481.

Compaq supplies either Windows 2000 or Windows XP with the EVO, and also included is Intel’s SpeedStep Utility, which allows users to unplug the notebook from the mains and still get full power. There’s also software for the WLAN card and the DVD (or CD RW) drive, as well as a diagnostics application.

The small 10.4-in TFT screen may put off some users, but I personally didn’t have any problem with it. However, something that everyone will like is the keyboard that is very user-friendly.

The Evo’s battery life is reasonable, with the standard lithium-ion polymer battery offering about 2.5 hours. Users can also buy an additional four cell external battery that increases the battery life. Compaq offers a one-year warranty for parts and labour.

All in all, the final verdict on the Evo is that it’s a tasty little notebook that looks good and has plenty of power.  Even more impressive is that when it’s taken out of its docking station it weighs a minuscule 1.13kg.

  • Form Factor: 9.5   
  • Technical specification: 8.5   
  • Business software: 7.5   
  • Connectivity options: 8.5   
  • Warranty & support: 7.5   
  • Value for money: 9   
  • Total 50.5   
  • Price: EUR1,999 (excluding swappable drives)   
  • Where to buy – Compaq: 1850-200 277 (Ireland only)

Apple iBook

For those wanting to escape the Wintel dominance of the computing market, Apple has long been a welcome alternative. And with the new iBook, the company has come up with a gorgeous notebook that is every bit as good as Windows-based ones.

Apple has usually led the way in terms of design innovation and the iBook shows that they’re not about to stop now. It comes in a bright white casing and weighs a reasonable 2.2Kg. The iBook is powered by a 600Mhz PowerPC 3 processor with 256K level 2 cache, 256Mbyte of SD RAM, a 20Gbyte hard drive disk, DVD-ROM/CD RW combo, 8Mbyte of SDRAM video memory, built-in 10/100BASE-T Ethernet and 56k modem, FireWire port and a bay for AirPort wireless networking.

The iBook includes a 14.1-in TFT display that’s easy to read from and a keyboard that has classic mouse-type navigation buttons. It also features Apple’s latest operating system, Mac OS X, which is easy to use, even if you’ve never been near a Mac before.

In terms of software, the iBook comes with iPhoto, an application that allows you to easily manage digital photos, iTunes 2, for managing music files such as MP3s and iMovies. However, while our review machine did include Microsoft Office for Mac, this was the only piece of business software included and it costs extra.

Connectivity options includes antennas, software and slot for the AirPort Card although you’ll have to pay more for the card itself. Also included is a firewire port for connecting with peripherals and a 10/100Base-T Ethernet. The iBook also comes with a 56-watt-hour lithium-ion battery that provides up to six hours of battery life on a single charge.

There’s also a VGA video output port for connecting your iBook up to an external display and the notebook comes with a one year Apple Protection Plan warranty.

The iBook is definitely worth further investigation. It’s a classy little number with plenty of power and plenty of options. Although it did lose a valuable point for being over the price limit.

  • Form Factor: 9.5   
  • Technical specification: 9.0   
  • Business software: 6.0   
  • Connectivity options: 8.0   
  • Warranty & support: 7.5   
  • Value for money: 8.5   
  • Total 48.5   
  • Price: EUR2,660   
  • Where to buy – Apple Ireland: 1800-923 898 (Ireland only)

Advent 7001

Make no mistake about it, the Advent 7001 is a heavy piece of hardware. At 3.15kg, this notebook is ideal for leaving on your desk, but not so great for dragging around all day.

The silver and grey notebook got a mixed reaction in the office, but all agreed that it’s not as sleek as most of the models available on the market.

However, the Advent is impressive. It features a powerful desktop chip – the Pentium 4 1.6Ghz processor and has a 20Gbyte hard drive. Up to 32Mbyte of graphics card memory is also available on the system and though we were told there was also 512Mbyte DDR RAM, the system information showed 480Mbyte, which is still pretty impressive. 

The optical drive fitted with this model is a 6x DVD ROM drive, although CD ROM and CD RW are also available as options. As with most notebooks reviewed here, the touchpad mouse is included for mouse control, with scroll buttons also included, as are hotkeys to your favourite applications.

For connectivity, the notebook has several options. An infra-red port on the front of the machine allows wireless communication, and a FireWire host connector on the rear of the notebook.

The Advent comes with Microsoft XP Home Edition installed, although the Professional Edition of the software would probably be more suited to business use. The Microsoft Premium Pack is also included, which comprises Word 2002, Picture It Photostudio 2002, Money 2002, Encarta 2002, Works 6.0 and more.

If you need to work on the move, the battery will give around two hours of life and the Advent comes with a one year warranty.

In all, the Advent is a bit on the bulky side but it has a good software and is a relative bargain.

  • Form Factor: 6   
  • Technical specification: 9   
  • Business software: 8.5   
  • Connectivity options: 8.0   
  • Warranty & support: 7.5   
  • Value for money: 8.5   
  • Total: 47.5   
  • Price: EUR2,099   
  • Where to buy – Dixons: +353 (0)1-878 1515

Acer TravelMate 529ATXV

There is a saying that size isn’t everything, and when it comes to notebooks, it seems that the smaller, and lighter, the better.

The Acer 529ATXV Travel Mate may not be the smallest notebook tested here, but at 2.77kg, it won’t exactly weigh you down either.

Powered by an Intel Pentium III 900Mhz processor, the notebook boasts 128Mbyte of memory, a 20Gbyte hard drive and 256Kbyte level 2 cache and Intel’s SpeedStep technology. There’s also a crisp, 14.1-in TFT display.

A DVD ROM drive is included in this particular model; others have CD ROM as standard with the option of choosing a DVD or CD RW drive instead.

Mouse controls are straightforward – a touchpad for regular mouse function, left and right click buttons, and for those who think scrollbars are passé, a nifty scroll button will do the job for you.

The notebook is no slouch on connectivity options – users can choose from an infrared communication port, a high-speed fax/data modem port, USB and Ethernet ports. The TravelMate also includes an internal 56k V.90 modem.

The keyboard is fairly standard for a notebook and is relatively easy to use. For computing on the move, a lithium ion battery is included. Users can also take advantage of the Apacer 32Mbyte HandyDrive with docking station that is included with the package. Also included is a portable drive which looks similar to a highlighter pen and can be worn around the neck.

The Travelmate comes with Microsoft Windows 2000 Professional or Windows Me. Software includes Trend PC-cillin 2000, Microsoft’s Office 2000 Small Business Edition, The Microsoft Premium Pack and as an added bonus, an ECDL/ICDL course for Windows 2000.

To top it all off, a carry case for the machine is also included. The Acer notebook offers a two-year return-to-base warranty and a one-year limited International Travelers Warranty.

The overall verdict? A notebook that rises above the standard with some noteworthy features. However, it would have been good to see some extra connectivity options.

  • Form factor: 7   
  • Technical specification: 8   
  • Business software: 9.5   
  • Connectivity options: 7   
  • Warranty and Support: 8.5   
  • Value for money: 8   
  • Total: 48   
  • Price: EUR2,299   
  • Where to buy – Emcee: +353 (0)1-456 7911

The Verdict

While it is a difficult task to select a top business notebook from such healthy competition, Toshiba has proved again why it is the front-runner in providing mobiles to the Irish business market. Offering a powerful Pentium III mobile processor, ample capacity for any business users, the Tecra 9000 really stands out on its own for its impressive connectivity options, modular design and support for the latest networking technologies such as WLAN and Bluetooth. Tailored for the large corporate network, the Tecra should work well in a small office environment that has adopted the latest standards in networking and IT communication.

04/04/2002

RELATED ARTICLES
#mc_embed_signup{background:#fff; false;clear:left; font:14px Helvetica,Arial,sans-serif; width: px;} /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block. We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
Sign up for the
Technology Minute
(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='MMERGE2';ftypes[2]='text';fnames[3]='MMERGE3';ftypes[3]='text';fnames[4]='MMERGE4';ftypes[4]='text';fnames[5]='SIGNUP';ftypes[5]='text';fnames[6]='MMERGE6';ftypes[6]='imageurl';}(jQuery));var $mcj = jQuery.noConflict(true); // SMS Phone Multi-Country Functionality if(!window.MC) { window.MC = {}; } window.MC.smsPhoneData = { defaultCountryCode: 'IE', programs: [], smsProgramDataCountryNames: [] }; function getCountryUnicodeFlag(countryCode) { return countryCode.toUpperCase().replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397)) }; // HTML sanitization function to prevent XSS function sanitizeHtml(str) { if (typeof str !== 'string') return ''; return str .replace(/&/g, '&') .replace(//g, '>') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/\//g, '/'); } // URL sanitization function to prevent javascript: and data: URLs function sanitizeUrl(url) { if (typeof url !== 'string') return ''; const trimmedUrl = url.trim().toLowerCase(); if (trimmedUrl.startsWith('javascript:') || trimmedUrl.startsWith('data:') || trimmedUrl.startsWith('vbscript:')) { return '#'; } return url; } const getBrowserLanguage = () => { if (!window?.navigator?.language?.split('-')[1]) { return window?.navigator?.language?.toUpperCase(); } return window?.navigator?.language?.split('-')[1]; }; // getBrowserLanguageCode() and getSmsProgramForCountryAndLanguage() are provided globally // by the external mc-sms-phone.js script loaded alongside this inline form script. function getDefaultCountryProgram(defaultCountryCode, smsProgramData) { if (!smsProgramData || smsProgramData.length === 0) { return null; } var browserCountryCode = getBrowserLanguage(); var browserLangCode = getBrowserLanguageCode(); if (browserCountryCode) { var match = getSmsProgramForCountryAndLanguage(smsProgramData, browserCountryCode, browserLangCode); if (match) { return match; } } if (defaultCountryCode) { var match = getSmsProgramForCountryAndLanguage(smsProgramData, defaultCountryCode, browserLangCode); if (match) { return match; } } return smsProgramData[0]; } function updateSmsLegalText(countryCode, fieldName) { if (!countryCode || !fieldName) { return; } var programs = window?.MC?.smsPhoneData?.programs; if (!programs || !Array.isArray(programs)) { return; } var browserLangCode = getBrowserLanguageCode(); var program = getSmsProgramForCountryAndLanguage(programs, countryCode, browserLangCode); if (!program || !program.requiredTemplate) { return; } var smsConsentHtmlRenderingFixEnabled = true; const legalTextElement = document.querySelector('#legal-text-' + fieldName); if (!legalTextElement) { return; } const divRegex = new RegExp(']*>', 'gi'); const blockWrapperRegex = new RegExp(']*>', 'gi'); const fullAnchorRegex = new RegExp('<a.*?', 'g'); const anchorRegex = new RegExp('(.*?)'); const template = smsConsentHtmlRenderingFixEnabled ? program.requiredTemplate .replace(/\s*

]*>/gi, ' ') .replace(blockWrapperRegex, '') : program.requiredTemplate.replace(divRegex, ''); legalTextElement.textContent = ''; const parts = template.split(/(.*?)/g); parts.forEach(function(part) { if (!part) { return; } const anchorMatch = part.match(/(.+?)/); if (anchorMatch) { const linkElement = document.createElement('a'); linkElement.href = sanitizeUrl(anchorMatch[1]); linkElement.target = anchorMatch[2] ? sanitizeHtml(anchorMatch[2]) : '_blank'; linkElement.rel = 'noopener noreferrer'; linkElement.textContent = sanitizeHtml(anchorMatch[3]); legalTextElement.appendChild(linkElement); } else { legalTextElement.appendChild(document.createTextNode(part)); } }); } function generateDropdownOptions(smsProgramData) { if (!smsProgramData || smsProgramData.length === 0) { return ''; } var programs = true ? smsProgramData.filter(function(p, i, arr) { return arr.findIndex(function(q) { return q.countryCode === p.countryCode; }) === i; }) : smsProgramData; return programs.map(program => { const flag = getCountryUnicodeFlag(program.countryCode); const countryName = getCountryName(program.countryCode); const callingCode = program.countryCallingCode || ''; // Sanitize all values to prevent XSS const sanitizedCountryCode = sanitizeHtml(program.countryCode || ''); const sanitizedCountryName = sanitizeHtml(countryName || ''); const sanitizedCallingCode = sanitizeHtml(callingCode || ''); return '' + sanitizedCountryName + ' ' + sanitizedCallingCode + ''; }).join(''); } function getCountryName(countryCode) { if (window.MC?.smsPhoneData?.smsProgramDataCountryNames && Array.isArray(window.MC.smsPhoneData.smsProgramDataCountryNames)) { for (let i = 0; i < window.MC.smsPhoneData.smsProgramDataCountryNames.length; i++) { if (window.MC.smsPhoneData.smsProgramDataCountryNames[i].code === countryCode) { return window.MC.smsPhoneData.smsProgramDataCountryNames[i].name; } } } return countryCode; } function getDefaultPlaceholder(countryCode) { if (!countryCode || typeof countryCode !== 'string') { return '+1 000 000 0000'; // Default US placeholder } var mockPlaceholders = [ { countryCode: 'US', placeholder: '+1 000 000 0000', helpText: 'Include the US country code +1 before the phone number', }, { countryCode: 'GB', placeholder: '+44 0000 000000', helpText: 'Include the GB country code +44 before the phone number', }, { countryCode: 'CA', placeholder: '+1 000 000 0000', helpText: 'Include the CA country code +1 before the phone number', }, { countryCode: 'AU', placeholder: '+61 000 000 000', helpText: 'Include the AU country code +61 before the phone number', }, { countryCode: 'DE', placeholder: '+49 000 0000000', helpText: 'Fügen Sie vor der Telefonnummer die DE-Ländervorwahl +49 ein', }, { countryCode: 'FR', placeholder: '+33 0 00 00 00 00', helpText: 'Incluez le code pays FR +33 avant le numéro de téléphone', }, { countryCode: 'ES', placeholder: '+34 000 000 000', helpText: 'Incluya el código de país ES +34 antes del número de teléfono', }, { countryCode: 'NL', placeholder: '+31 0 00000000', helpText: 'Voeg de NL-landcode +31 toe vóór het telefoonnummer', }, { countryCode: 'BE', placeholder: '+32 000 00 00 00', helpText: 'Incluez le code pays BE +32 avant le numéro de téléphone', }, { countryCode: 'CH', placeholder: '+41 00 000 00 00', helpText: 'Fügen Sie vor der Telefonnummer die CH-Ländervorwahl +41 ein', }, { countryCode: 'AT', placeholder: '+43 000 000 0000', helpText: 'Fügen Sie vor der Telefonnummer die AT-Ländervorwahl +43 ein', }, { countryCode: 'IE', placeholder: '+353 00 000 0000', helpText: 'Include the IE country code +353 before the phone number', }, { countryCode: 'IT', placeholder: '+39 000 000 0000', helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono', }, { countryCode: 'NO', placeholder: '+47 000 00 000', helpText: 'Inkluder NO landskode +47 før telefonnummeret', }, { countryCode: 'SE', placeholder: '+46 00 000 00 00', helpText: 'Inkludera SE landskod +46 före telefonnumret', }, { countryCode: 'DK', placeholder: '+45 00 00 00 00', helpText: 'Inkluder DK landekode +45 før telefonnummeret', }, { countryCode: 'FI', placeholder: '+358 00 000 0000', helpText: 'Sisällytä FI-maakoodi +358 ennen puhelinnumeroa', }, { countryCode: 'EE', placeholder: '+372 0000 0000', helpText: 'Lisage EE riigikood +372 telefoninumbri ette', }, { countryCode: 'PL', placeholder: '+48 000 000 000', helpText: 'Podaj numer kierunkowy PL +48 przed numerem telefonu', }, { countryCode: 'SK', placeholder: '+421 000 000 000', helpText: 'Pred telefónne číslo uveďte kód krajiny SK +421', }, { countryCode: 'LV', placeholder: '+371 0000 0000', helpText: 'Iekļaujiet LV valsts kodu +371 pirms tālruņa numura', }, { countryCode: 'LT', placeholder: '+370 0000 0000', helpText: 'Įtraukite LT šalies kodą +370 prieš telefono numerį', }, { countryCode: 'GR', placeholder: '+30 000 000 0000', helpText: 'Συμπεριλάβετε τον κωδικό χώρας GR +30 πριν από τον αριθμό τηλεφώνου', }, { countryCode: 'PT', placeholder: '+351 000 000 000', helpText: 'Inclua o código de país PT +351 antes do número de telefone', }, { countryCode: 'HR', placeholder: '+385 00 000 0000', helpText: 'Uključite HR pozivni broj države +385 prije telefonskog broja', }, { countryCode: 'SI', placeholder: '+386 00 000 000', helpText: 'Vključite SI kodo države +386 pred telefonsko številko', }, { countryCode: 'IS', placeholder: '+354 000 0000', helpText: 'Láttu IS landsnúmer +354 fylgja á undan símanúmerinu', }, { countryCode: 'LU', placeholder: '+352 000 000 000', helpText: 'Incluez le code pays LU +352 avant le numéro de téléphone', }, { countryCode: 'MC', placeholder: '+377 00 00 00 00', helpText: 'Incluez le code pays MC +377 avant le numéro de téléphone', }, { countryCode: 'AD', placeholder: '+376 000 000', helpText: 'Incloeu el codi de país AD +376 abans del número de telèfon', }, { countryCode: 'JE', placeholder: '+44 0000 000000', helpText: 'Include the JE country code +44 before the phone number', }, { countryCode: 'IM', placeholder: '+44 0000 000000', helpText: 'Include the IM country code +44 before the phone number', }, { countryCode: 'GG', placeholder: '+44 0000 000000', helpText: 'Include the GG country code +44 before the phone number', }, { countryCode: 'AL', placeholder: '+355 00 000 0000', helpText: 'Përfshini kodin e vendit AL +355 para numrit të telefonit', }, { countryCode: 'SM', placeholder: '+378 0000 000000', helpText: 'Includere il prefisso internazionale SM +378 prima del numero di telefono', }, { countryCode: 'FO', placeholder: '+298 000000', helpText: 'Inkluder FO landekode +298 før telefonnummeret', }, { countryCode: 'MT', placeholder: '+356 0000 0000', helpText: 'Include the MT country code +356 before the phone number', }, { countryCode: 'LI', placeholder: '+423 000 0000', helpText: 'Fügen Sie vor der Telefonnummer die LI-Ländervorwahl +423 ein', }, { countryCode: 'GI', placeholder: '+350 000 00000', helpText: 'Include the GI country code +350 before the phone number', }, { countryCode: 'MD', placeholder: '+373 00 000 000', helpText: 'Includeți codul de țară MD +373 înaintea numărului de telefon', }, { countryCode: 'HU', placeholder: '+36 00 000 0000', helpText: 'A telefonszám előtt adja meg a HU országkódot +36', }, { countryCode: 'NZ', placeholder: '+64 00 000 0000', helpText: 'Include the NZ country code +64 before the phone number', }, { countryCode: 'ME', placeholder: '+382 00 000 000', helpText: 'Uključite ME pozivni broj države +382 prije telefonskog broja', }, ]; const selectedPlaceholder = mockPlaceholders.find(function(item) { return item && item.countryCode === countryCode; }); return selectedPlaceholder ? selectedPlaceholder.placeholder : mockPlaceholders[0].placeholder; } function updatePlaceholder(countryCode, fieldName) { if (!countryCode || !fieldName) { return; } const phoneInput = document.querySelector('#mce-' + fieldName); if (!phoneInput) { return; } const placeholder = getDefaultPlaceholder(countryCode); if (placeholder) { phoneInput.placeholder = placeholder; } } function updateCountryCodeInstruction(countryCode, fieldName) { updatePlaceholder(countryCode, fieldName); } function getDefaultHelpText(countryCode) { var mockPlaceholders = [ { countryCode: 'US', placeholder: '+1 000 000 0000', helpText: 'Include the US country code +1 before the phone number', }, { countryCode: 'GB', placeholder: '+44 0000 000000', helpText: 'Include the GB country code +44 before the phone number', }, { countryCode: 'CA', placeholder: '+1 000 000 0000', helpText: 'Include the CA country code +1 before the phone number', }, { countryCode: 'AU', placeholder: '+61 000 000 000', helpText: 'Include the AU country code +61 before the phone number', }, { countryCode: 'DE', placeholder: '+49 000 0000000', helpText: 'Fügen Sie vor der Telefonnummer die DE-Ländervorwahl +49 ein', }, { countryCode: 'FR', placeholder: '+33 0 00 00 00 00', helpText: 'Incluez le code pays FR +33 avant le numéro de téléphone', }, { countryCode: 'ES', placeholder: '+34 000 000 000', helpText: 'Incluya el código de país ES +34 antes del número de teléfono', }, { countryCode: 'NL', placeholder: '+31 0 00000000', helpText: 'Voeg de NL-landcode +31 toe vóór het telefoonnummer', }, { countryCode: 'BE', placeholder: '+32 000 00 00 00', helpText: 'Incluez le code pays BE +32 avant le numéro de téléphone', }, { countryCode: 'CH', placeholder: '+41 00 000 00 00', helpText: 'Fügen Sie vor der Telefonnummer die CH-Ländervorwahl +41 ein', }, { countryCode: 'AT', placeholder: '+43 000 000 0000', helpText: 'Fügen Sie vor der Telefonnummer die AT-Ländervorwahl +43 ein', }, { countryCode: 'IE', placeholder: '+353 00 000 0000', helpText: 'Include the IE country code +353 before the phone number', }, { countryCode: 'IT', placeholder: '+39 000 000 0000', helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono', }, { countryCode: 'NO', placeholder: '+47 000 00 000', helpText: 'Inkluder NO landskode +47 før telefonnummeret', }, { countryCode: 'SE', placeholder: '+46 00 000 00 00', helpText: 'Inkludera SE landskod +46 före telefonnumret', }, { countryCode: 'DK', placeholder: '+45 00 00 00 00', helpText: 'Inkluder DK landekode +45 før telefonnummeret', }, { countryCode: 'FI', placeholder: '+358 00 000 0000', helpText: 'Sisällytä FI-maakoodi +358 ennen puhelinnumeroa', }, { countryCode: 'EE', placeholder: '+372 0000 0000', helpText: 'Lisage EE riigikood +372 telefoninumbri ette', }, { countryCode: 'PL', placeholder: '+48 000 000 000', helpText: 'Podaj numer kierunkowy PL +48 przed numerem telefonu', }, { countryCode: 'SK', placeholder: '+421 000 000 000', helpText: 'Pred telefónne číslo uveďte kód krajiny SK +421', }, { countryCode: 'LV', placeholder: '+371 0000 0000', helpText: 'Iekļaujiet LV valsts kodu +371 pirms tālruņa numura', }, { countryCode: 'LT', placeholder: '+370 0000 0000', helpText: 'Įtraukite LT šalies kodą +370 prieš telefono numerį', }, { countryCode: 'GR', placeholder: '+30 000 000 0000', helpText: 'Συμπεριλάβετε τον κωδικό χώρας GR +30 πριν από τον αριθμό τηλεφώνου', }, { countryCode: 'PT', placeholder: '+351 000 000 000', helpText: 'Inclua o código de país PT +351 antes do número de telefone', }, { countryCode: 'HR', placeholder: '+385 00 000 0000', helpText: 'Uključite HR pozivni broj države +385 prije telefonskog broja', }, { countryCode: 'SI', placeholder: '+386 00 000 000', helpText: 'Vključite SI kodo države +386 pred telefonsko številko', }, { countryCode: 'IS', placeholder: '+354 000 0000', helpText: 'Láttu IS landsnúmer +354 fylgja á undan símanúmerinu', }, { countryCode: 'LU', placeholder: '+352 000 000 000', helpText: 'Incluez le code pays LU +352 avant le numéro de téléphone', }, { countryCode: 'MC', placeholder: '+377 00 00 00 00', helpText: 'Incluez le code pays MC +377 avant le numéro de téléphone', }, { countryCode: 'AD', placeholder: '+376 000 000', helpText: 'Incloeu el codi de país AD +376 abans del número de telèfon', }, { countryCode: 'JE', placeholder: '+44 0000 000000', helpText: 'Include the JE country code +44 before the phone number', }, { countryCode: 'IM', placeholder: '+44 0000 000000', helpText: 'Include the IM country code +44 before the phone number', }, { countryCode: 'GG', placeholder: '+44 0000 000000', helpText: 'Include the GG country code +44 before the phone number', }, { countryCode: 'AL', placeholder: '+355 00 000 0000', helpText: 'Përfshini kodin e vendit AL +355 para numrit të telefonit', }, { countryCode: 'SM', placeholder: '+378 0000 000000', helpText: 'Includere il prefisso internazionale SM +378 prima del numero di telefono', }, { countryCode: 'FO', placeholder: '+298 000000', helpText: 'Inkluder FO landekode +298 før telefonnummeret', }, { countryCode: 'MT', placeholder: '+356 0000 0000', helpText: 'Include the MT country code +356 before the phone number', }, { countryCode: 'LI', placeholder: '+423 000 0000', helpText: 'Fügen Sie vor der Telefonnummer die LI-Ländervorwahl +423 ein', }, { countryCode: 'GI', placeholder: '+350 000 00000', helpText: 'Include the GI country code +350 before the phone number', }, { countryCode: 'MD', placeholder: '+373 00 000 000', helpText: 'Includeți codul de țară MD +373 înaintea numărului de telefon', }, { countryCode: 'HU', placeholder: '+36 00 000 0000', helpText: 'A telefonszám előtt adja meg a HU országkódot +36', }, { countryCode: 'NZ', placeholder: '+64 00 000 0000', helpText: 'Include the NZ country code +64 before the phone number', }, { countryCode: 'ME', placeholder: '+382 00 000 000', helpText: 'Uključite ME pozivni broj države +382 prije telefonskog broja', }, ]; if (!countryCode || typeof countryCode !== 'string') { return mockPlaceholders[0].helpText; } const selectedHelpText = mockPlaceholders.find(function(item) { return item && item.countryCode === countryCode; }); return selectedHelpText ? selectedHelpText.helpText : mockPlaceholders[0].helpText; } function setDefaultHelpText(countryCode) { const helpTextSpan = document.querySelector('#help-text'); if (!helpTextSpan) { return; } } function updateHelpTextCountryCode(countryCode, fieldName) { if (!countryCode || !fieldName) { return; } setDefaultHelpText(countryCode); } function initializeSmsPhoneDropdown(fieldName) { if (!fieldName || typeof fieldName !== 'string') { return; } const dropdown = document.querySelector('#country-select-' + fieldName); const displayFlag = document.querySelector('#flag-display-' + fieldName); if (!dropdown || !displayFlag) { return; } const smsPhoneData = window.MC?.smsPhoneData; if (smsPhoneData && smsPhoneData.programs && Array.isArray(smsPhoneData.programs)) { dropdown.innerHTML = generateDropdownOptions(smsPhoneData.programs); } const defaultProgram = getDefaultCountryProgram(smsPhoneData?.defaultCountryCode, smsPhoneData?.programs); if (defaultProgram && defaultProgram.countryCode) { dropdown.value = defaultProgram.countryCode; const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName); if (flagSpan) { flagSpan.textContent = getCountryUnicodeFlag(defaultProgram.countryCode); flagSpan.setAttribute('aria-label', sanitizeHtml(defaultProgram.countryCode) + ' flag'); } updateSmsLegalText(defaultProgram.countryCode, fieldName); updatePlaceholder(defaultProgram.countryCode, fieldName); updateCountryCodeInstruction(defaultProgram.countryCode, fieldName); } var smsNotRequiredRemoveCountryCodeEnabled = true; var smsField = Object.values({"EMAIL":{"name":"EMAIL","label":"Email Address","helper_text":"","type":"email","required":true,"audience_field_name":"Email Address","merge_id":0,"help_text_enabled":false,"enabled":true,"order":0,"field_type":"merge"},"FNAME":{"name":"FNAME","label":"First Name","helper_text":"","type":"text","required":false,"audience_field_name":"First Name","enabled":false,"order":null,"field_type":"merge","merge_id":1},"MMERGE2":{"name":"MMERGE2","label":"Second Name","helper_text":"","type":"text","required":false,"audience_field_name":"Second Name","enabled":false,"order":null,"field_type":"merge","merge_id":2},"MMERGE3":{"name":"MMERGE3","label":"Company Name","helper_text":"","type":"text","required":false,"audience_field_name":"Company Name","enabled":false,"order":null,"field_type":"merge","merge_id":3},"MMERGE4":{"name":"MMERGE4","label":"Job Title","helper_text":"","type":"text","required":false,"audience_field_name":"Job Title","enabled":false,"order":null,"field_type":"merge","merge_id":4},"SIGNUP":{"name":"SIGNUP","label":"Signup form location","helper_text":"","type":"text","required":false,"audience_field_name":"Signup form location","enabled":false,"order":null,"field_type":"merge","merge_id":5},"MMERGE6":{"name":"MMERGE6","label":"Image URL","helper_text":"","type":"imageurl","required":false,"audience_field_name":"Image URL","enabled":false,"order":null,"field_type":"merge","merge_id":6}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; }); var isRequired = smsField ? smsField.required : false; var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true; var phoneInput = document.querySelector('#mce-' + fieldName); if (phoneInput && defaultProgram.countryCallingCode && shouldAppendCountryCode) { phoneInput.value = defaultProgram.countryCallingCode; } displayFlag?.addEventListener('click', function(e) { dropdown.focus(); }); dropdown?.addEventListener('change', function() { const selectedCountry = this.value; if (!selectedCountry || typeof selectedCountry !== 'string') { return; } const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName); if (flagSpan) { flagSpan.textContent = getCountryUnicodeFlag(selectedCountry); flagSpan.setAttribute('aria-label', sanitizeHtml(selectedCountry) + ' flag'); } const selectedProgram = window.MC?.smsPhoneData?.programs.find(function(program) { return program && program.countryCode === selectedCountry; }); var smsNotRequiredRemoveCountryCodeEnabled = true; var smsField = Object.values({"EMAIL":{"name":"EMAIL","label":"Email Address","helper_text":"","type":"email","required":true,"audience_field_name":"Email Address","merge_id":0,"help_text_enabled":false,"enabled":true,"order":0,"field_type":"merge"},"FNAME":{"name":"FNAME","label":"First Name","helper_text":"","type":"text","required":false,"audience_field_name":"First Name","enabled":false,"order":null,"field_type":"merge","merge_id":1},"MMERGE2":{"name":"MMERGE2","label":"Second Name","helper_text":"","type":"text","required":false,"audience_field_name":"Second Name","enabled":false,"order":null,"field_type":"merge","merge_id":2},"MMERGE3":{"name":"MMERGE3","label":"Company Name","helper_text":"","type":"text","required":false,"audience_field_name":"Company Name","enabled":false,"order":null,"field_type":"merge","merge_id":3},"MMERGE4":{"name":"MMERGE4","label":"Job Title","helper_text":"","type":"text","required":false,"audience_field_name":"Job Title","enabled":false,"order":null,"field_type":"merge","merge_id":4},"SIGNUP":{"name":"SIGNUP","label":"Signup form location","helper_text":"","type":"text","required":false,"audience_field_name":"Signup form location","enabled":false,"order":null,"field_type":"merge","merge_id":5},"MMERGE6":{"name":"MMERGE6","label":"Image URL","helper_text":"","type":"imageurl","required":false,"audience_field_name":"Image URL","enabled":false,"order":null,"field_type":"merge","merge_id":6}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; }); var isRequired = smsField ? smsField.required : false; var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true; var phoneInput = document.querySelector('#mce-' + fieldName); if (phoneInput && selectedProgram.countryCallingCode && shouldAppendCountryCode) { phoneInput.value = selectedProgram.countryCallingCode; } updateSmsLegalText(selectedCountry, fieldName); updatePlaceholder(selectedCountry, fieldName); updateCountryCodeInstruction(selectedCountry, fieldName); }); } document.addEventListener('DOMContentLoaded', function() { const smsPhoneFields = document.querySelectorAll('[id^="country-select-"]'); smsPhoneFields.forEach(function(dropdown) { const fieldName = dropdown?.id.replace('country-select-', ''); initializeSmsPhoneDropdown(fieldName); }); });

- Advertisment -

Most Popular