Regex as field type?

Just perusing through the “Profile Fields” (/admin.php?dispatch=profile_fields.manage). I’m wondering if it’s possible to get a new field type … regex … This way we would be able to have our own restrictions on what the user can input in any particular field.



Good idea? Bad idea? :smiley:

hello, you can use this little program. just a very few lines:



[url]http://forum.cs-cart.com/showpost.php?p=13427&postcount=1[/url]

yes I would like the optiosn to be a bit more advanced, where the selection of one effects the availability of the other option, example take a look at how the card selections on this site effect the other options:



[url]http://store.flattenme.com/dinosaur-personalized-invitations-and-thank-you-notes.html[/url]



or the options available on this product customizer:



[url]HugeDomains.com

[quote name=‘snorocket’]yes I would like the optiosn to be a bit more advanced, where the selection of one effects the availability of the other option, example take a look at how the card selections on this site effect the other options:



[url]http://store.flattenme.com/dinosaur-personalized-invitations-and-thank-you-notes.html[/url]



or the options available on this product customizer:



[url]WearPort.com is for sale | HugeDomains

In regards to the product customizer type things, I found this the other day and it would be absolutely fantastic if CS-Cart had something to do this;

[url]http://www.pcstudio.com.au/buildapc.php[/url]



I think regex fields would add a lot of depth to the CS-Cart system.