add stripslashes to php form, add javascript to form

(1) on a php form (/secure/merchant-info/[url removed, login to view] - see image: [url removed, login to view] )… need to add a stripslashes function…

here's the issue… in step 4 of the form, when selecting an alcohol with a single quote ( ' ) in the name (eg. Jack Daniel's) a backslash is displayed (in the liquor details table) once the user clicks 'View Selected'… need to get rid of the backslash. i added this functionality on line: 575 but cannot figure it out here.

(2) need to add some javascript to the following file: /secure/liquordata/[url removed, login to view] (see image: [url removed, login to view] )…

when the user selects 'TYPE' i need javascript to auto populate a hidden input field (code line: 119) that corresponds to the appropriate value for subcat_id.

for example….

if the user selects 'Domestic Beer' i need the 'subcat_id' hidden field to be populated with '8'…

if the user selects 'Gin' i need the 'subcat_id' hidden field to be populated with '2'… and so on… i've created an 'id' tag for each option to let you know what value should populate the hidden field based on selection

need same javascript to be written for when the user selects 'SIZE'. the hidden field (code line: 165)for size is 'subcatSize_id'… ***** i can probably do this part myself after you have created the code for 'subcat_id' *****

let me know if you have any questions.

Compétences : HTML, Javascript, PHP

en voir plus : liquor, javascript to c++, gin, beer, backslash, add info, add functionality, table jpg, php function secure, php tag, form step, single form, form image, auto add, add field code, add quote, table javascript, javascript user type, php step step, issue javascript, javascript issue, hidden auto, php form hidden, quote form php javascript, form input

Concernant l'employeur :
( 19 commentaires ) SAN JOSE, United States

Nº du projet : #1633725

Décerné à:


hi ready to start work

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(22 Commentaires)

5 freelance font une offre moyenne de $34 pour ce travail


Ready to start now! please check pmb

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(36 Commentaires)

hi sir, i am ready to do the job. Regards

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(48 Commentaires)

Hello, both of the tasks are easy to fix. Let me help you with it. Thanks.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(18 Commentaires)

Hi, We have thoroughly read your requirements and believe that we can deliver exceptional results. Experienced osCommerce developer ready to begin your project. Please check your PMB and let me know. We hope you wi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(18 Commentaires)

Hello,sir. I can do this job. Please check pmb.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(4 Commentaires)