0

I create a form wizard (previous and next) and want to use a validation, I have multiple id to be applied on the form as an id.

this is javascript for form wizard

<script type="text/javascript">

var myform=new formtowizard({
	formid: 'fslide',
	persistsection: true,
	revealfx: ['slide', 500]
})

</script>

and this is javascript for validation

<script>	
  $(document).ready(function() {
  $("#formID").validationEngine()
});
		</script>

i have fslide and formID to the call in the form like this

<form action="" method="post" target="_self" id="??">

please some one help me how so that id=?? it can work..
thanks all.

Edited by ivanichi: n/a

4
Contributors
9
Replies
10
Views
6 Years
Discussion Span
Last Post by ko ko
0

Let me see if I get this. In this case, the case of the word is formid and it looks to be a property name for an object.

<script type="text/javascript">

var myform=new formtowizard({
	formid: 'fslide',
	persistsection: true,
	revealfx: ['slide', 500]
})

</script>

Here, the case is formID and it is a div that is not shown.

<script>	
  $(document).ready(function() {
  $("#formID").validationEngine()
});

And here there is no formid of any case but there is a form id which is the attribute id with a value of '??'.

$("#formID").validationEngine()

I will leap to the conclusion that you want the '??' to identify the form to validate with formtowizard. Another guess. Try replacing

$("#formID").validationEngine()

with

validationEngine($('form').attr('id').val());

This is not tested.

Edited by tinymark: n/a

0

thank you friend, I have tried but not been able to walk, maybe I can explain like this: if i use

<form action="" method="post" target="_self" id="fslide">

validation not run, but if i use

<form action="" method="post" target="_self" id="formID">

formwizard not run. here my problem i want form wizard and validation can be used.

0

:) they can't work together because i do not know how to get them to work together. my problem is on call id as I mentioned above. if using <form action="" method="post" target="_self" id="fslide"> my form wizard run & validation not run, if using <form action="" method="post" target="_self" id="formID"> validation run & my form wizard not run.

Edited by ivanichi: n/a

0

how can i pass the two ids such that table name and id no. of that table so that i can dynamically proceess the data through image on clickevent

0
<script type="text/javascript">

var myform=new formtowizard({
    formid: 'fslide',
    persistsection: true,
    revealfx: ['slide', 500]
})

</script>

formid: 'fslide', Can you change this instead ? formid: 'formID',

Edited by mike_2000_17: Fixed formatting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.