portal entry

select a category, or use search below
(searches all categories and all time range)

Retrieve multiple email

| View in Portal
April 23, 2019 01:46:47 PM GMT
<p>I need to retrieve multiple email which is provided in the form..And for every mail i need to create unique id.please help with this.</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/04/retrieve-multiple-email/">Retrieve multiple email</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: cffunction, CFML Tag/Function, Question, cfml tag/function, ColdFusion, question


Do you really mean email (as in email content) or email addresses? I assume you mean email addresses. And as for "retrieve", do you mean you want to access the values passed in on the form? And do you mean they are in multiple fields? or one field with multiple addresses? If you do a dump of the form scope, you will see what's being passed in: <cfdump var="#form#"> If that gives you an error, then you are doing it when there is not yet a form scope, so wrap it in a test for its existence, such as: <cfif isdefined("form")> <cfdump var="#form#"> </cfif> If you need more help, can you show us an example (perhaps about 5 lines) of what the form and form fields would look like)?
Comment by Charlie Arehart
2015 | April 25, 2019 03:22:21 PM GMT
Thank u Charlie Arehart, But my question is i need to validate one field with multiple email.And my validation part should be in cfm page...i need to validate the compleate email,which should accepts proper extension...   </a><input type="email" testid="" id="id2" name="" value="" class="cp_textInput" required multiple> <p id="demo1">   <script> function myFunction() { var inpObj = document.getElementById("id1"); if (!inpObj.checkValidity()) { document.getElementById("demo").innerHTML = "Subject field should not be empty"; }
2019 | April 26, 2019 06:06:00 AM GMT
can we use isValid() method of coldfusion in javascript  
2020 | April 26, 2019 09:55:14 AM GMT