I’m playing around with some ideas in Webyep to create some buy now buttons, where hidden form fields are populated by the single line “webyep short text”.
Using the following:
Takes various short text items and pops them into a hidden field to be sent on the to shopping cart. That’s OK, but it would be nice to push this a bit further so that a form is only generated in the user fills the the “Price” short text field. Extending the idea to have a inquire button when no price is present.
How can I get <?php echo webyep_sShortTextContent("Price", false); ?> to populate a variable so I can do a…
<?php $pricetest = "<?php echo webyep_sShortTextContent("Price", false); ?>"if $pricetest != “” ;
echo "
All I’m getting is at the moment is the actual quoted text “<?php echo webyep_sShortTextContent("Price", false); ?>” and not the value of “Price”, sort of chicken and egg situation as the variable has not been posted yet.
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options