Ajax AutoComplete Support Product Page

is it possibly to make 2 hidden fields

Asked 30 Oct 2012 10:41:03
1
has this question
30 Oct 2012 10:41:03 Andreas Knapp posted:
Hello, is it possibly to make 2 hidden fields for example like this (only example not working):


jQuery(document).ready(
function() {
jQuery('#IP_ORT01').autocomplete('autocomplete-Site010-asp-1.asp',
{
opacity : .7,
delay : 100,
minChars : 3,
max : 3,
matchContains : true,
idField : 'IDNR',
idField2 : 'IDNR2',
hiddenIdField : 'IP_ADRID',
hiddenIdField2 : 'IP_CODE1to10',
fxShow : { type:'slide' },
fxHide : { type:'slide' }

})});


i need this to make following thing:

the first IDNR is the recordset ID. i need this so make later a SELECT * FROM WHERE IDNR = IDNR to make calculations.

the second IDND2 will be a codenumber from 1 to 10. This ID it will show directly on the Website for the customer to know.
The field then is not hidden: <input type="text" name="IP_CODE1to10" id="IP_CODE1to10" />

thanks for an answer. andreas

Replies

Replied 31 Oct 2012 10:09:38
31 Oct 2012 10:09:38 Teodor Kuduschiev replied:
Hello Andreas,

Unfortunately this is not possible.

Reply to this topic