cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in creating alert message in HTML template.

Former Member
0 Kudos

Hi All,

I am using internet service for BBPMAININT.

In the template 120, i am checking for the length of partner number should not be greater than 4 characters.

For this i have created a method in javascript which gives a popup.

I have create a parameter in the Theme99 /topic.How can i use this parameter value in the alert ?

please help me in solving this problem.

Thanks in advance.

Sohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Lets say you created a parameter <b>ZTOTO</b> in your theme

In order to use this parameter in your BHTML code write:

`#ZTOTO`

Hope it helps.

Regards.

Vadim

Former Member
0 Kudos

Hi Vadim,

I gave the snippet as mentioned by you.

It didnt work.

In the javascript function i wrote alert( `#ZTOTO` );

The alert popup should give the value maintained in the parameter,but it contains the value `#ZTOTO`.

Is there any other way we can access the parameter value in the javascript methods.

Thanks and Regards

Sohit

Former Member
0 Kudos

Hi,

1- Your javascript has to be in a dynamic BHTML template, and not in a static HTML file.

2- The javascript code should be: alert('`#ZTOTO`')

Please provide your template modifications for analysis

Regards.

Vadim

Answers (0)