Hello,
I have a need to submit one SAEF form to two separate weblogs. So I am trying to establishing a conditional on my form tag.
BACKGROUND INFO: The reason I need the form to feed into separate weblogs is that I have a classifieds website where there is an option to place a free advert and then other adverts are paid for. I need to divert the ‘Free’ process in a different direction to my e-commerce processes.
Also, the free advert expires after 6 weeks where the others are non-expiring, so I have used the Auto Expire Extension to maintain this functionality as it is weblog driven.
All in all the form has the same fields, but I just need to feed the form in two different directions for other site functionality purposes.
SO, what I have tried to do is this:
{if entry-id=='1672'} {!-- This is the Free Product weblog entry --}
{exp:weblog:entry_form
weblog="free"
return="sell/checkout"
preview="sell/preview"
status="open"
enctype="multi"}
{if:else}
{exp:weblog:entry_form
weblog="sell" {!-- This is for all other Product weblog entries --}
return="sell/checkout"
preview="sell/preview"
status="open"
enctype="multi"}
{/if}BUT this is outputting a curious Tag wrapped around my form:
{{NOCACHE_FORM}} form fields etc {{/NOCACHE_FORM}}Does anyone have a better method I could use for such a scenario?
Thank you in advance ...