How to make clickable menu hyperlinks in BCD Presto

  • Home
  • /
  • Blog
  • /
  • How to make clickable menu hyperlinks in BCD Presto

May 16, 2017

BCD Presto – Software Green Screen Modernization

aka – AS400 iSeries 5250 Screen to Web Conversions

BCD Presto is probably my favourite screen modernization tool. It has a very simple and clean screen editor. It’s reliable, fast and intuitive. Most importantly, when I have those “what is the best way to do this?” questions the BCD helpdesk folks are helpful and super fast in their responses: They really have gone above and beyond in helping me to workout some of the not-so-obvious screen tweaks I have wanted to do.

Running Presto in automatic screen modernization mode nicely picks up each green screen and automatically apples the basic skin layout (the webpage theme I have chosen). This shows a webpage to the user in real time. It has some core rules like “recognize this is a menu and convert all menu options into clickable links”. This works great but, for one of my clients, some of their menu links are alphameric — for example WO means “Load Works Order”. These are not recognized by the “Presto Rules”. I could change the rules to include that, but since this is only a handful of menus I can edit the page instead.

Using javascript to make links clickable in AS400 menus

This is the code you need to add for the CLICK action:


obviously, you will need to change the #f0 to the name of the input field on  your menu!


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Start your
7-day free trial

Take This Course with ALL ACCESS

Unlock your Learning Potential with instant access to every course and all new courses as they are released.
 [ For Serious Software Developers only ]

IBM i Training For Technology Experts


Successfully Work Remote 

 $ 129.00  $59.00

By adding new skills in information technology, employers will be confident that you have the necessary skills and tools needed to successfully work remotely


Snug CBD

 20% Discount

I have partnered with SNUG CBD givING you Organic CBD
20% discount code "NL20"