When clicking on one of the options, the user will be redirected. (Portal)

EltonS
Tera Contributor

Hello team! How are you?!

 

I created a select option in the header menu (attached image1), I need to include within the option tags the "links" with the sysId of the modules that are in the backend (attached image2).

 

HTML structure:

 

    <div class="module-form">
      <form>
        <label for="module">Choose one module:</label>
        <select name="module" id="module">
            <option value="meeting" sys_app_module.do?  sys_id=55d0a66d83d892100ac1c2dfeeaad370>Meeting</option>
            <option value="knowledge"sys_app_module.do?sys_id=d1a0ee6d83d892100ac1c2dfeeaad304>Knowledge</option>
            <option value="support"sys_app_module.do?sys_id=3040ea2d83d892100ac1c2dfeeaad36b>Support</option>
        </select>
      </form>
    </div>

 

 

After the user clicks on one of the "options" he will be redirected.

 

I created the HTML structure (attached image1), but I don't know how to include this within the <option> tags.

 

Note: When I open the record of each module (attached image3), I have the option to copy the URL, so I copied the URL and pasted it within the "Options" tag, but it doesn't work.

 

The entire module URL looks like this: https://dev123456.service-now.com/nav_to.do?uri=sys_app_module.do?sys_id=55d0a66d83d892100ac1c2dfeea...

 

Is it necessary to use angular js?

 

Could someone help me?

 

Thanks

1 REPLY 1

EltonS
Tera Contributor

This is the Select Options image I created