Join drop-down element in email template

Status
Not open for further replies.

medo

New Member
Hello

I have one tabel join drop-down element in my form and I have also make e-mail template.
Drop-down works fine in form but in e-mail template apear just as ID value :-(
(I do not have same problem in default template - just in mine templates )

Have poroblem with date format in same template :-(

Please look attachment


Best regards
Medo
 

Attachments

  • Bilde 2.jpg
    Bilde 2.jpg
    17.3 KB · Views: 213
Same problem

I have updateed last SVN but I stil have same problem ( only with my e-mail template.)


E mail confirmation display corect label from join element but wrong date format from date element. ( "2008-09-27 00:00:00" )


Please find attched my e-mail tempalte

Best regarsd
Medo
 

Attachments

  • smi_email.html.zip
    1.7 KB · Views: 217
Hmmmm, not a lot I can do about that with Fabrik as-is, because by the time we get to sending the emails, we've already converted the date into standard MySQL format for saving into the db. And for reasons too convoluted to explain, the routine that replaces th placeholders with the dat has no clue what 'type' the element is, so can't automagically convert it back to your display ormat.

If it's really important that you format the date in the email, the only workaround I can think of is ...

Add a hidden text element (not date) called something like hidden_date.

Add a form submission script (as soon as form submitted, simple eval) to copy the date into your hidden element:

$aData['table_name___hidden_date'] = $aData['table_name___date'];

... and use the 'hidden_date' as your template place holder.

-- hugh


-- hugh
 
join element

Thank you for replay.

Date format is not such a big problem as the fact that from drop-down join element apear ID but not value!!!. As I mention it's only hepend with my template!!
Please find attached result when I submit my form on defoult template and on mine template.

Can you help me with this case?

Best regads
Medo
 

Attachments

  • Bilde_1default.jpg
    Bilde_1default.jpg
    6.7 KB · Views: 199
  • Bilde_2smi.jpg
    Bilde_2smi.jpg
    17.3 KB · Views: 203
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top