Jump to content

Custom Field Options


xxsashixx

Recommended Posts

At the editing products page, in custom fields.

 

This is what I have, two tickboxes and one textarea.

 

How can I make it so that if tickbox b is ticked textarea is required but if tickbox is ticked then tickbox b and textarea is not needed.

 

Example:

if( a == ticked ) { b && textarea cannot be ticked and filled in }

elseif (b == ticked) { a cannot be ticked && textarea is required }

 

I'm not sure if smarty can do this let alone I don't even know how it works :P

 

Thanks :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated