TOPIC:

CONDITIONAL FIELDS 7 months 3 weeks ago #238876

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

I partly understand what you want, but not completely.

Where is this URL defined and displayed? And what exactly should be replaced with what value?

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

CONDITIONAL FIELDS 7 months 3 weeks ago #238878

  • Topic Author
  • DAVIDPL
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 75
  • Thanks: 0
element
element properties
label
Tag code:

Realizar pedido..... <a href="javascript:void(0);" onclick="window.open('index.php?option=com_virtuemart&view=category&virtuemart_category_id=15&Itemid=357','Clic','scrollbars=yes,width=400,height=600')">* TRAMITAR *<b><u></u></b></a>
replace value: id=15
for the value of a field called: "Referencia1"

Please Log in or Create an account to join the conversation.

CONDITIONAL FIELDS 7 months 3 weeks ago #238881

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

Here is a solution that does not work exactly like you wanted, but similar.

First, as Label put only something like this:
<a href="javascript:void(0);">* TRAMITAR *<b><u></u></b></a>

Then go to the Advanced properties of the "Referecia1" element. In "Actionscript" section set "Type" to "Custom" and check "Change" as "Action".

Then in the code area that appears below put the following code:
function ff_Referencia1_action(element, action)
{
  jQuery("a").attr("href", 'index.php?option=com_virtuemart&view=category&virtuemart_category_id=' + element.value +'&Itemid=357');
 
} // ff_Referencia1_action

That way, after you change the entered value in Referencia1, it will show as part of href for the link, as the "virtuemart_category_id".

Let me know whether this solution works for you.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

CONDITIONAL FIELDS 7 months 3 weeks ago #238890

  • Topic Author
  • DAVIDPL
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 75
  • Thanks: 0
Hi
It doesn't work well, the url doesn't take me anywhere

Please Log in or Create an account to join the conversation.

CONDITIONAL FIELDS 7 months 2 weeks ago #238916

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello again,

Do you mean that the link is not working at all or that it takes you to the wrong page?

Please try to put an aboslute URL instead of the relative one you are using now.

Let me know whether that resolves the issue.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.049 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!