WebSite X5Help Center

 
Terence F.
Terence F.
User

How to add a combo box selector in a page?  en

Autor: Terence F.
Visitado 2022, Seguidores 1, Compartilhado 0  

I need to add custom code to a page ie Combobox selector and would like to have an example of this code. Is there any documentation on how do do this?

Thanks

Publicado em
4 RESPOSTAS
John S.
John S.
User

Hello Terence

Here is an example :

<!DOCTYPE html>
<html>
<body>

<form action="/action_page.php">
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
<br><br>
<input type="submit">
</form>

</body>
</html>

On the net it should be easy to find information. Try searching for "html combobox"

Kind regards

John S.

Ler mais
Publicado em de John S.
Terence F.
Terence F.
User
Autor

John; I meant adding such code to the X5 page - what is the procedure to do that in Step 4

Thanks

Ler mais
Publicado em de Terence F.
John S.
John S.
User

Oh - sorry

You put the code in an html-object.

For your information - the email-form-object has the combobox "built in".

Kind regards

John S.

Ler mais
Publicado em de John S.
Terence F.
Terence F.
User
Autor

I finally got around doing this and I would appreciate an extra set of eyes on the redirect function - I don't know why the redirect is not working...

http://www.woodwelder.net/tregarne-products.php

This page has the custom HTML/javascript function to redirect to the 2 shopping cart pages.

What am i doing wrong?

Thanks

Ler mais
Publicado em de Terence F.