Pop up message displaying on page where i had taken "Submit variable value" action.

Hello. I have to take "Submit variable value" action to every page to submit a variable. I am publishing it to HTML. it is working fine but one issue is, lectora is showing a pop up message like "your information submitted successfully". I dont want that pop up message. How can I disable it?

Discussion (7)

ok I have taken both actions on the page itself, do you mean to take both the actions in the form? My action was Javascript:location.href. I was getting every page's URL. So, by using this action in a form , will I get the url of the page in which the form is?

I guess this is effected by what variable you are trying to submit and where you are submitting it to. One way to do this is to use forms.

  1. Go to the Test and Survey tab and use the Form controls to create a form.

  2. Add an action to a button to submit the form.

  3. In the Form's properties uncheck Show Message When Submitted.


You can also use the Include ALL Variable Values check box to control what is submitted.

It should return the URL that is stored in the variable. I have never worked with the action you describe so I cant be sure, but if the action is storing the page URL to a variable then this should work (I think :confused:)

OK i appreciate your help. Thanks

I tried. I took a form in every page, say Form_1.

1) In properties of form I checked submit form to my cgi script. That is to my aspx page. And in Action of form, On Select/Change> Moduify variable> Modifying my variable value to URL of that page.

2) On page, I added action, OnPageShow> Submit Form> Form_1


But It is not working. The value of the variable in which i am storing the URL is null. I also wrote the code like,

"string form1 = Request.Form["Form_1"]; " to get the value of the form. It is not working also.


WHat can be done?

It is beyond my knowledge sorry, maybe someone else has a solution?

Well, I found the solution. But credit goes to you, you gave me idea of using Form. :) Steps below:

1) in every page, take a form> in form, add one entry box> make it initially invisible.

2) now, On entry field have to actions, First one for whatever you wanna do. And second one > Submit Form> Select the form.


It will work. :)

Discussions have been disabled for this post