checking a array

cachousam

Avatar: cachousam

2012-08-26 12:29

Hello,
What is the function for checking if we have completed a mandatory field in a form.
For example, I would like do not forget to fill the purchase price when I create a product.
thank you

» Quick.Cart v3.x

cachousam

Avatar: cachousam

2012-08-26 14:20

i have search in core/checkform.js without result.
Is the template / admin / product.tpl file is also involved ?
In this page, the field name, and pages are required and I have not found how it goes.
And it is on this page that I added a field do I have to fill.
See you soon.

rzyber

Avatar: rzyber

2012-08-26 20:44

in file templates/admin/products.tpl change line

<input type="text" name="fPrice" value="$aData[fPrice]" class="inputr" size="10" />

to

<input type="text" name="fPrice" value="$aData[fPrice]" class="inputr" size="10" alt="simple"/>

All fields whit alt="simple" are required.

ProSzablon.pl

cachousam

Avatar: cachousam

2012-08-26 22:07

Thanks a lot,it's work fine.
Dominique

Back to top
about us | contact