I created à Form (Publier une annonce) to submit ads on the front end ==> clients can submit their ads and they must fill their Email adress (Field called Email_Annonceur) .
I had an Email field (Confirmer annonce) which send an Email to clients ( to confirm ad's registration) ==> it's work well !
I created a list & search form (Chercher une annonce) : search and viewing ads work well;
I added a Free text field (Contacter l'annonceur) to the content view : I want to permit to visitors (who are vieawing ads) to send an Email to the person who submitted the ad.
This Free text field (Contacter l'annonceur) is linked (Option 2) to a contact form ==> the link work well ==> I click on the free text field (Contacter l'annonceur) and I access to the contact form.
The problem is : I don't know how to get the Email of the person who had submitted the ad to use it on the contact form to send an Email to the person who had wubmitted the ad ? I tried to indicate the Email Field ( Field Email_Annonceur in the form Publier une annonce) on the configuration of the Free Text field but it does'nt seem to much with this field and it wend nothing to the submitter.
Thansk for your help and I appology for my bad English.
I tried what you've suggested but I steel have some problems !
In the content view / free text field ==> I did : mytag=$cck->getValue('email_field');
In the contact form, I've tried many combination to configure the variable ( for th fields Type and variable).
If I do Type == String and variable=="mytag" ==> I have no result
I do Type == String and variable== mytag ==> the email is formatted
like this : -- var prefix = 'ma' 'il' 'to'; var path = 'hr' 'ef'
'='; var addy48589 = 'wimax.faucon' '@'; addy48589 = addy48589
'yahoo' '.' 'fr'; document.write(''); document.write(addy48589);
document.write(''); //-->\n -- document.write(''); //--> Cette
adresse e-mail est protégée contre les robots spammeurs. Vous devez
No it work but i would like to hide the value of the tag in th url ...how can I do it?
This is an exampel of an url : http://firstname.lastname@example.org&return=aHR0cDovL3d3dy5pdH The idea is to hide the value of the email (email@example.com) to still not visible for the visitor.